returnn 1.20250922.155846__tar.gz → 1.20251007.115327__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of returnn might be problematic. Click here for more details.
- {returnn-1.20250922.155846/returnn.egg-info → returnn-1.20251007.115327}/PKG-INFO +1 -1
- returnn-1.20251007.115327/_setup_info_generated.py +2 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/basic.py +28 -13
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/distrib_files.py +7 -1
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/generating.py +9 -16
- {returnn-1.20250922.155846 → returnn-1.20251007.115327/returnn.egg-info}/PKG-INFO +1 -1
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_Dataset.py +21 -1
- returnn-1.20250922.155846/_setup_info_generated.py +0 -2
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/.editorconfig +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/.gitignore +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/.gitmodules +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/.kateconfig +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/CHANGELOG.md +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/CODEOWNERS +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/CONTRIBUTING.md +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/LICENSE +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/MANIFEST.in +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/README.rst +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/12AX.cluster_map +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/_setup_returnn_env.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-fwd.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-horovod-mpi.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-horovod-mpi.py.sh +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-horovod-mpi.sh +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-hyper-param-tuning.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-iter-dataset.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-list-devices.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-lua-torch-layer.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-pretrain.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-record-and-push-to-webserver.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-returnn-as-framework.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-rf-pt-benchmark.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-rf.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-rhn-enwik8.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-sprint-interface.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-att-copy.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-attention.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-chunking-blstm.12ax.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-contribrnn-lstm.12ax.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-enc-dec.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-hard-att-copy.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-lstm-benchmark.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-maxgradnorm-lstm.12ax.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-native-lstm-lowmem.12ax.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-native-lstm.12ax.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-native-lstm2.12ax.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-native-lstm2.12ax.tuned.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-neural-transducer.12ax.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-rec-explicit-lstm.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-rec-explicit-rnn.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-rec-self-att.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-search-compiled-graph.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-vanilla-lstm.12ax.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-timit-lstm-ctc.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-torch.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-upd-mult-model.lstm.12ax.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo.sh +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/IAM/IAM_lines/a01-000u-00.png +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/IAM/IAM_lines/a01-007-04.png +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/IAM/IAM_lines/a01-007-06.png +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/IAM/README.txt +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/IAM/chars.txt +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/IAM/config_demo +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/IAM/config_fwd +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/IAM/config_real +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/IAM/create_IAM_dataset.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/IAM/decode.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/IAM/features/raw/demo.h5 +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/IAM/go.sh +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/IAM/lines.txt +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/IAM/split/eval.txt +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/IAM/split/train.txt +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/IAM/split/valid.txt +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/README.md +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/artificial/create_test_h5.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/artificial/forwardconfig +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/artificial/go.sh +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/artificial/trainconfig +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/artificial_rgb/create_test_h5.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/artificial_rgb/forwardconfig +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/artificial_rgb/go.sh +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/artificial_rgb/trainconfig +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/pyproject.toml +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/requirements.txt +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/__main__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/__old_mod_loader__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/__setup__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/config.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/audio.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/bundle_file.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/cached.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/cached2.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/hdf.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/lm.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/map.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/meta.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/multi_proc.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/normalization_data.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/numpy_dump.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/postprocessing.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/raw_wav.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/sprint.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/stereo.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/text_dict.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/util/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/util/feature_extraction.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/util/strings.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/util/vocabulary.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/engine/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/engine/base.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/engine/batch.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/__main__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/.git +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/.gitignore +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/LICENSE +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/README.md +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/aligner.gif +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/check.png +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/core.cu +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/core.h +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/core_cpu.cpp +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/pytorch_binding/LICENSE +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/pytorch_binding/MANIFEST.in +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/pytorch_binding/README.md +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/pytorch_binding/binding.cpp +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/pytorch_binding/core.cu +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/pytorch_binding/core.h +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/pytorch_binding/requirements.txt +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/pytorch_binding/setup.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/pytorch_binding/warp_rna/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/pytorch_binding/warp_rna/test.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/ref_rna.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/tensorflow_binding/setup.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/tensorflow_binding/src/warp_rna_op.cc +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/tensorflow_binding/src/warp_rna_op_kernel_tmpl.h +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/tensorflow_binding/warp_rna/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/test.cpp +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/graph_editor/README.md +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/graph_editor/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/graph_editor/edit.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/graph_editor/reroute.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/graph_editor/select.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/graph_editor/subgraph.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/graph_editor/transform.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/graph_editor/util.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/forward_iface.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/_backend.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/_cache.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/_native/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/_native/backend.cpp +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/_native/backend.hpp +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/_native/module.cpp +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/_native/module.hpp +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/_native/py_utils.hpp +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/_native/tensor_ops.cpp +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/_native/tensor_ops.hpp +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/_numpy_backend.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/_random_journal.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/_utils.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/array_.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/attention.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/audio/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/audio/mel.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/audio/specaugment.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/backend.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/build_from_dict.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/cond.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/const.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/container.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/control_flow_ctx.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/conv.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/conversions/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/conversions/espnet_e_branchformer.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/conversions/hf_llama.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/conversions/torch_nn.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/decoder/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/decoder/transformer.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/device.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/dims.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/dropout.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/dtype.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/encoder/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/encoder/base.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/encoder/conformer.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/encoder/conformer_v2.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/encoder/e_branchformer.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/encoder/transformer.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/gradient.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/graph.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/hooks.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/init.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/label_smoothing.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/linear.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/loop.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/loss.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/math_.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/matmul.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/module.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/nested.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/normalization.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/parameter.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/parametrizations.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/parametrize.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/piecewise_linear.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/rand.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/rec.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/reduce.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/run_ctx.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/signal.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/state.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/stepwise_scheduler.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/tensor_array.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/frontend/types.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/import_/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/import_/common.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/import_/git.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/import_/import_.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/learning_rate_control.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/log.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/native_op.cpp +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/native_op.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/pretrain.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/sprint/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/sprint/cache.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/sprint/control.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/sprint/error_signals.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/sprint/extern_interface.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/sprint/interface.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tensor/README.md +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tensor/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tensor/_dim_extra.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tensor/_tensor_extra.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tensor/_tensor_mixin_base.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tensor/_tensor_op_overloads.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tensor/control_flow_ctx.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tensor/dim.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tensor/marked_dim.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tensor/tensor.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tensor/tensor_dict.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tensor/utils.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/compat.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/data_pipeline.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/distributed.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/engine.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/frontend_layers/README.md +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/frontend_layers/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/frontend_layers/_backend.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/frontend_layers/_utils.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/frontend_layers/cond.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/frontend_layers/config_entry_points.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/frontend_layers/debug_eager_mode.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/frontend_layers/dims.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/frontend_layers/layer.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/frontend_layers/loop.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/frontend_layers/make_layer.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/frontend_layers/masked_computation.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/frontend_layers/parameter_assign.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/frontend_layers/prev_tensor_ref.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/frontend_low_level/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/frontend_low_level/_backend.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/horovod.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/hyper_param_tuning.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/layers/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/layers/base.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/layers/basic.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/layers/rec.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/layers/segmental_model.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/layers/signal_processing.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/layers/variable.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/native_op.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/network.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/sprint.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/updater.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/util/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/util/basic.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/util/data.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/util/gradient_checkpoint.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/util/ken_lm.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/tf/util/open_fst.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/README.md +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/data/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/data/extern_data.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/data/pipeline.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/data/queued_data_iter.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/data/returnn_dataset_wrapper.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/data/tensor_utils.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/distributed.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/engine.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/frontend/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/frontend/_backend.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/frontend/_rand.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/frontend/bridge.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/frontend/raw_ops.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/optim/README.md +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/optim/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/optim/lion.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/updater.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/util/README.md +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/util/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/util/array_.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/util/debug_inf_nan.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/util/diagnose_gpu.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/util/exception_helper.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/util/gradient_checkpoint.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/util/module.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/torch/util/scaled_gradient.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/util/__init__.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/util/basic.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/util/better_exchook.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/util/bpe.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/util/debug.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/util/debug_helpers.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/util/file_cache.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/util/fsa.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/util/literal_py_to_pickle.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/util/lru_cache.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/util/math.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/util/multi_proc_non_daemonic_spawn.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/util/native_code_compiler.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/util/pprint.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/util/py-to-pickle.cpp +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/util/py_ext_mod_compiler.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/util/result_with_reason.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/util/sig_proc.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/util/task_system.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/util/train_proc_manager.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/util/watch_memory.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn.egg-info/SOURCES.txt +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn.egg-info/dependency_links.txt +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn.egg-info/requires.txt +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn.egg-info/top_level.txt +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/rnn.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/setup.cfg +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/setup.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/DummySprintExec.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/PyCharm-inspection-profile.xml +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/PyCharm.idea/.gitignore +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/PyCharm.idea/.name +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/PyCharm.idea/codeStyleSettings.xml +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/PyCharm.idea/codeStyles/Project.xml +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/PyCharm.idea/codeStyles/codeStyleConfig.xml +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/PyCharm.idea/inspectionProfiles/Project_Default.xml +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/PyCharm.idea/inspectionProfiles/profiles_settings.xml +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/PyCharm.idea/misc.xml +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/PyCharm.idea/modules.xml +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/PyCharm.idea/returnn.iml +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/PyCharm.idea/scopes/scope_settings.xml +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/_set_num_threads1.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/_setup_returnn_env.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/_setup_test_env.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/bpe-unicode-demo.codes +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/bpe-unicode-demo.vocab +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/lexicon_opt.fst +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/lexicon_opt.isyms +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/lexicon_opt.jpg +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/lexicon_opt.osyms +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/lint_common.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/pycharm-inspect.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/pylint.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/returnn-as-framework.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/rf_utils.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/spelling.dic +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_Config.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_Fsa.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_GeneratingDataset.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_HDFDataset.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_LearningRateControl.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_Log.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_MultiProcDataset.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_Pretrain.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_ResNet.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_SprintDataset.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_SprintInterface.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_TFEngine.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_TFNativeOp.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_TFNetworkLayer.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_TFNetworkRecLayer.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_TFNetworkSigProcLayer.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_TFUpdater.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_TFUtil.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_TF_determinism.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_TaskSystem.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_TaskSystem_SharedMem.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_TranslationDataset.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_Util.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_demos.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_fork_exec.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_hdf_dump.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_rf_array.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_rf_attention.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_rf_base.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_rf_cond.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_rf_const.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_rf_container.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_rf_conv.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_rf_decoder_transformer.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_rf_encoder_conformer.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_rf_gradient.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_rf_label_smoothing.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_rf_loop.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_rf_math.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_rf_normalization.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_rf_piecewise_linear.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_rf_rec.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_rf_reduce.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_rf_signal.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_tensor.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_threading.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_tools.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_torch_dataset.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_torch_engine.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_torch_frontend.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_torch_internal_frontend.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/test_torch_util.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tests/torch_utils.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/_setup_returnn_env.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/analyze-dataset-batches.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/bliss-collect-seq-lens.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/bliss-dump-text.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/bliss-get-segment-names.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/bliss-to-ogg-zip.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/bpe-create-lexicon.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/calculate-word-error-rate.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/cleanup-old-models.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/collect-orth-symbols.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/collect-words.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/compile_native_op.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/compile_tf_graph.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/debug-dump-search-scores.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/debug-plot-search-scores.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/dump-dataset-raw-strings.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/dump-dataset.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/dump-forward-stats.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/dump-forward.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/dump-network-json.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/dump-pickle.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/extract_state_tying_from_dataset.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/get-attention-weights.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/get-best-model-epoch.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/hdf_dump.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/hdf_dump_translation_dataset.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/import-blocks-mt-model.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/import-t2t-mt-model.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/lattice_rescorer/.gitignore +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/lattice_rescorer/Makefile +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/lattice_rescorer/README.md +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/lattice_rescorer/example/README.md +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/lattice_rescorer/example/libs_list +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/lattice_rescorer/example/network.040/i600_m600_m600.sgd_b16_lr0_cl2.newbobabs.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/lattice_rescorer/example/network.040/i600_m600_m600.sgd_b16_lr0_cl2.newbobabs.keep_over_epoch.lstm2.config +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/lattice_rescorer/example/rescore_lattice.sh +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/lattice_rescorer/example/state_vars_list +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/lattice_rescorer/example/tensor_names_list +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/lattice_rescorer/file.h +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/lattice_rescorer/htklatticerescorer.cc +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/lattice_rescorer/htklatticerescorer.h +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/lattice_rescorer/main.cc +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/lattice_rescorer/rescorer.h +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/lattice_rescorer/vocabulary.cc +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/lattice_rescorer/vocabulary.h +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/tf_avg_checkpoints.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/tf_inspect_checkpoint.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/tf_inspect_summary_log.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/torch_avg_checkpoints.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/torch_export_to_onnx.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/torch_inspect_checkpoint.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/torch_inspect_checkpoint_and_opt.py +0 -0
- {returnn-1.20250922.155846 → returnn-1.20251007.115327}/tools/torch_scale_tuning.py +0 -0
|
@@ -19,6 +19,7 @@ import os
|
|
|
19
19
|
import math
|
|
20
20
|
import numpy
|
|
21
21
|
import functools
|
|
22
|
+
import types
|
|
22
23
|
from typing import TYPE_CHECKING, Optional, Any, Set, Tuple, Union, Type, Dict, Sequence, List, Callable
|
|
23
24
|
|
|
24
25
|
from returnn.log import log
|
|
@@ -154,7 +155,7 @@ class Dataset:
|
|
|
154
155
|
self.seq_tags_filter = set(self._load_seq_list_file(seq_list_filter_file)) if seq_list_filter_file else None
|
|
155
156
|
self.unique_seq_tags = unique_seq_tags
|
|
156
157
|
self._seq_order_seq_lens_file = seq_order_seq_lens_file
|
|
157
|
-
self._seq_order_seq_lens_by_idx = None
|
|
158
|
+
self._seq_order_seq_lens_by_idx: Optional[Sequence[Union[int, float]]] = None
|
|
158
159
|
# There is probably no use case for combining the two, so avoid potential misconfiguration.
|
|
159
160
|
assert self.partition_epoch == 1 or self.repeat_epoch == 1, (
|
|
160
161
|
"Combining partition_epoch and repeat_epoch is prohibited."
|
|
@@ -486,12 +487,8 @@ class Dataset:
|
|
|
486
487
|
"""
|
|
487
488
|
raise NotImplementedError
|
|
488
489
|
|
|
489
|
-
def _get_seq_order_seq_lens_by_idx(self, seq_idx):
|
|
490
|
-
|
|
491
|
-
:param int seq_idx:
|
|
492
|
-
:rtype: int
|
|
493
|
-
"""
|
|
494
|
-
if not self._seq_order_seq_lens_by_idx:
|
|
490
|
+
def _get_seq_order_seq_lens_by_idx(self, seq_idx: int) -> Union[int, float]:
|
|
491
|
+
if self._seq_order_seq_lens_by_idx is None:
|
|
495
492
|
assert self._seq_order_seq_lens_file
|
|
496
493
|
if self._seq_order_seq_lens_file.endswith(".gz"):
|
|
497
494
|
import gzip
|
|
@@ -502,11 +499,12 @@ class Dataset:
|
|
|
502
499
|
seq_lens = eval(raw)
|
|
503
500
|
assert isinstance(seq_lens, dict)
|
|
504
501
|
all_tags = self.get_all_tags()
|
|
505
|
-
self._seq_order_seq_lens_by_idx = [seq_lens[tag] for tag in all_tags]
|
|
502
|
+
self._seq_order_seq_lens_by_idx = numpy.array([seq_lens[tag] for tag in all_tags])
|
|
503
|
+
self._get_seq_order_seq_lens_by_idx = self._seq_order_seq_lens_by_idx.__getitem__ # faster
|
|
506
504
|
return self._seq_order_seq_lens_by_idx[seq_idx]
|
|
507
505
|
|
|
508
506
|
def get_seq_order_for_epoch(
|
|
509
|
-
self, epoch: Optional[int], num_seqs: int, get_seq_len: Optional[Callable[[int], int]] = None
|
|
507
|
+
self, epoch: Optional[int], num_seqs: int, get_seq_len: Optional[Callable[[int], Union[int, float]]] = None
|
|
510
508
|
) -> Sequence[int]:
|
|
511
509
|
"""
|
|
512
510
|
Returns the order of the given epoch.
|
|
@@ -515,7 +513,7 @@ class Dataset:
|
|
|
515
513
|
|
|
516
514
|
:param epoch: for 'random', this determines the random seed
|
|
517
515
|
:param num_seqs:
|
|
518
|
-
:param get_seq_len: function (originalSeqIdx: int) -> int
|
|
516
|
+
:param get_seq_len: function (originalSeqIdx: int) -> int|float
|
|
519
517
|
:return: the order for the given epoch. such that seq_idx -> underlying idx
|
|
520
518
|
"""
|
|
521
519
|
if epoch is None:
|
|
@@ -561,8 +559,9 @@ class Dataset:
|
|
|
561
559
|
seq_index = range(num_seqs - 1, -1, -1) # type: Union[range, Sequence[int]]
|
|
562
560
|
elif seq_ordering_method in ["sorted", "sorted_reverse"]:
|
|
563
561
|
assert get_seq_len
|
|
564
|
-
|
|
565
|
-
|
|
562
|
+
seq_lens = _get_seq_len_as_array(get_seq_len, num_seqs)
|
|
563
|
+
if seq_ordering_method == "sorted_reverse":
|
|
564
|
+
seq_lens = -seq_lens
|
|
566
565
|
seq_index = numpy.argsort(seq_lens, kind="stable")
|
|
567
566
|
elif seq_ordering_method == "random" or seq_ordering_method.startswith("random:"):
|
|
568
567
|
tmp = seq_ordering_method.split(":", 1)
|
|
@@ -628,7 +627,7 @@ class Dataset:
|
|
|
628
627
|
nth = 1
|
|
629
628
|
else:
|
|
630
629
|
nth = int(tmp[1])
|
|
631
|
-
seq_lens =
|
|
630
|
+
seq_lens = _get_seq_len_as_array(get_seq_len, num_seqs)
|
|
632
631
|
rnd_seed = self._get_random_seed_for_epoch(epoch=epoch, num_epochs_fixed=nth)
|
|
633
632
|
random_generator = numpy.random.RandomState(rnd_seed)
|
|
634
633
|
seq_index = random_generator.permutation(num_seqs) # type: Union[numpy.ndarray, List[int]]
|
|
@@ -1757,3 +1756,19 @@ def set_config_extern_data_from_dataset(config, dataset):
|
|
|
1757
1756
|
"extern_data",
|
|
1758
1757
|
{key: _data_kwargs_from_dataset_key(dataset=dataset, key=key) for key in dataset.get_data_keys()},
|
|
1759
1758
|
)
|
|
1759
|
+
|
|
1760
|
+
|
|
1761
|
+
def _get_seq_len_as_array(get_seq_len: Callable[[int], Union[int, float]], num_seqs: int) -> numpy.ndarray:
|
|
1762
|
+
if num_seqs == 0:
|
|
1763
|
+
return numpy.zeros((0,), dtype=numpy.int32)
|
|
1764
|
+
if isinstance(get_seq_len, (types.BuiltinMethodType, types.MethodWrapperType, types.MethodType)):
|
|
1765
|
+
# Call it once. This might trigger some caching.
|
|
1766
|
+
get_seq_len(0)
|
|
1767
|
+
# Get it again. This might now get us a different (cached) function, e.g. array.__getitem__.
|
|
1768
|
+
get_seq_len = getattr(get_seq_len.__self__, get_seq_len.__name__)
|
|
1769
|
+
assert isinstance(get_seq_len, (types.BuiltinMethodType, types.MethodWrapperType, types.MethodType))
|
|
1770
|
+
obj = get_seq_len.__self__
|
|
1771
|
+
if isinstance(obj, numpy.ndarray) and get_seq_len.__name__ == "__getitem__":
|
|
1772
|
+
assert obj.shape == (num_seqs,)
|
|
1773
|
+
return obj
|
|
1774
|
+
return numpy.array([get_seq_len(i) for i in range(num_seqs)])
|
|
@@ -135,7 +135,7 @@ class DistributeFilesDataset(CachedDataset2):
|
|
|
135
135
|
def __init__(
|
|
136
136
|
self,
|
|
137
137
|
*,
|
|
138
|
-
files: Union[List[FileTree], os.PathLike],
|
|
138
|
+
files: Union[List[FileTree], os.PathLike, Callable[[], List[FileTree]]],
|
|
139
139
|
get_sub_epoch_dataset: Callable[[List[FileTree]], Dict[str, Any]],
|
|
140
140
|
preload_next_n_sub_epochs: int = 1,
|
|
141
141
|
buffer_size: int = 1,
|
|
@@ -151,6 +151,7 @@ class DistributeFilesDataset(CachedDataset2):
|
|
|
151
151
|
can also be specified as a path to a .txt file containing one file per line,
|
|
152
152
|
or a python file containing the repr of a list of arbitrarily nested python objects,
|
|
153
153
|
or a JSON file containing a list of arbitarily nested (JSON) objects.
|
|
154
|
+
It can also be a callable which returns such a list.
|
|
154
155
|
:param get_sub_epoch_dataset: callable which returns a dataset dict for a given subset of files
|
|
155
156
|
:param preload_next_n_sub_epochs: how many sub epoch datasets to preload
|
|
156
157
|
:param buffer_size: buffer size for each worker, number of seqs to prefetch
|
|
@@ -244,6 +245,11 @@ class DistributeFilesDataset(CachedDataset2):
|
|
|
244
245
|
return
|
|
245
246
|
if isinstance(self.files, list):
|
|
246
247
|
self._files = self.files
|
|
248
|
+
elif callable(self.files):
|
|
249
|
+
self._files = self.files()
|
|
250
|
+
assert isinstance(self._files, list), (
|
|
251
|
+
f"{self}: callable files {self.files} must return a list, got {type(self._files)}"
|
|
252
|
+
)
|
|
247
253
|
elif isinstance(self.files, (str, os.PathLike)):
|
|
248
254
|
_, ext = os.path.splitext(self.files)
|
|
249
255
|
assert ext, f"{self}: no file extension on file list file {self.files}"
|
|
@@ -7,14 +7,13 @@ from __future__ import annotations
|
|
|
7
7
|
from typing import Optional, Union, Any, Sequence, List, Tuple, Dict
|
|
8
8
|
import numpy
|
|
9
9
|
import sys
|
|
10
|
-
import typing
|
|
11
10
|
|
|
12
11
|
from returnn.util.basic import class_idx_seq_to_1_of_k, CollectionReadCheckCovered
|
|
13
12
|
from returnn.log import log
|
|
14
13
|
from returnn.tensor import Tensor, Dim, TensorDict
|
|
15
14
|
|
|
16
15
|
from .util.feature_extraction import ExtractAudioFeatures
|
|
17
|
-
from .util.vocabulary import
|
|
16
|
+
from .util.vocabulary import Vocabulary, BytePairEncoding, CharacterTargets
|
|
18
17
|
from .audio import OggZipDataset # noqa # for API compatibility
|
|
19
18
|
from .basic import Dataset, DatasetSeq, convert_data_dims
|
|
20
19
|
from .cached2 import CachedDataset2
|
|
@@ -1280,12 +1279,6 @@ class CopyTaskDataset(GeneratingDataset):
|
|
|
1280
1279
|
return DatasetSeq(seq_idx=seq_idx, features=seq_np, targets={"classes": seq_np})
|
|
1281
1280
|
|
|
1282
1281
|
|
|
1283
|
-
# Multiple external sources where we could write automatic wrappers:
|
|
1284
|
-
# * https://github.com/tensorflow/datasets
|
|
1285
|
-
# * tf.contrib.keras.datasets, https://www.tensorflow.org/api_docs/python/tf/keras/datasets
|
|
1286
|
-
# * nltk.corpus
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
1282
|
class TimitDataset(CachedDataset2):
|
|
1290
1283
|
"""
|
|
1291
1284
|
DARPA TIMIT Acoustic-Phonetic Continuous Speech Corpus.
|
|
@@ -1553,7 +1546,7 @@ class TimitDataset(CachedDataset2):
|
|
|
1553
1546
|
|
|
1554
1547
|
self._random_permute_audio = CollectionReadCheckCovered.from_bool_or_dict(random_permute_audio)
|
|
1555
1548
|
|
|
1556
|
-
self._seq_order
|
|
1549
|
+
self._seq_order: Optional[Sequence[int]] = None
|
|
1557
1550
|
self._init_timit()
|
|
1558
1551
|
|
|
1559
1552
|
self._audio_data = {} # seq_tag -> (audio, sample_rate). loaded by self._reader_thread_main
|
|
@@ -1927,8 +1920,8 @@ class BlissDataset(CachedDataset2):
|
|
|
1927
1920
|
self._with_delta = with_delta
|
|
1928
1921
|
self.num_inputs *= 1 + with_delta
|
|
1929
1922
|
self._bpe_file = open(bpe_file, "r")
|
|
1930
|
-
self._seqs
|
|
1931
|
-
self._vocab
|
|
1923
|
+
self._seqs: List[BlissDataset.SeqInfo] = []
|
|
1924
|
+
self._vocab: Dict[str, int] = {} # set in self._parse_vocab
|
|
1932
1925
|
self._parse_bliss_xml(filename=path)
|
|
1933
1926
|
# TODO: loading audio like in TimitDataset, and in parallel
|
|
1934
1927
|
self._bpe = BytePairEncoding(vocab_file=vocab_file, bpe_file=bpe_file)
|
|
@@ -2100,7 +2093,7 @@ class LibriSpeechCorpus(CachedDataset2):
|
|
|
2100
2093
|
self.targets = CharacterTargets(**chars)
|
|
2101
2094
|
elif targets is None:
|
|
2102
2095
|
assert bpe is None and chars is None
|
|
2103
|
-
self.targets
|
|
2096
|
+
self.targets: Optional[Vocabulary] = None
|
|
2104
2097
|
else:
|
|
2105
2098
|
raise Exception("invalid targets %r. provide bpe or chars" % targets)
|
|
2106
2099
|
if self.targets:
|
|
@@ -2128,7 +2121,7 @@ class LibriSpeechCorpus(CachedDataset2):
|
|
|
2128
2121
|
self._reference_seq_order = seqs
|
|
2129
2122
|
self.transs = {s: self.transs[s] for s in seqs}
|
|
2130
2123
|
self.epoch_wise_filter = epoch_wise_filter
|
|
2131
|
-
self._seq_order
|
|
2124
|
+
self._seq_order: Optional[Sequence[int]] = None
|
|
2132
2125
|
self.init_seq_order()
|
|
2133
2126
|
|
|
2134
2127
|
def _collect_trans(self):
|
|
@@ -2294,9 +2287,9 @@ class LibriSpeechCorpus(CachedDataset2):
|
|
|
2294
2287
|
""":return: whether this dataset supports sharding"""
|
|
2295
2288
|
return True
|
|
2296
2289
|
|
|
2297
|
-
def get_current_seq_order(self):
|
|
2290
|
+
def get_current_seq_order(self) -> Sequence[int]:
|
|
2298
2291
|
"""
|
|
2299
|
-
:
|
|
2292
|
+
:return: seq order of current epoch
|
|
2300
2293
|
"""
|
|
2301
2294
|
assert self._seq_order is not None
|
|
2302
2295
|
return self._seq_order
|
|
@@ -2446,7 +2439,7 @@ class Enwik8Corpus(CachedDataset2):
|
|
|
2446
2439
|
self._batch_num_seqs = batch_num_seqs
|
|
2447
2440
|
self._random = numpy.random.RandomState(1) # seed will be set in init_seq_order
|
|
2448
2441
|
self._seq_starts = numpy.arange(0, len(self._data) - 1, seq_len)
|
|
2449
|
-
self._seq_order
|
|
2442
|
+
self._seq_order: Optional[Sequence[int]] = None
|
|
2450
2443
|
|
|
2451
2444
|
def get_data_dtype(self, key):
|
|
2452
2445
|
"""
|
|
@@ -12,7 +12,7 @@ import tempfile
|
|
|
12
12
|
import contextlib
|
|
13
13
|
from returnn.datasets.generating import Task12AXDataset, DummyDataset, DummyDatasetMultipleSequenceLength
|
|
14
14
|
from returnn.engine.batch import Batch
|
|
15
|
-
from returnn.datasets.basic import Dataset, DatasetSeq, init_dataset
|
|
15
|
+
from returnn.datasets.basic import Dataset, DatasetSeq, init_dataset, _get_seq_len_as_array
|
|
16
16
|
from returnn.util.basic import NumbersDict
|
|
17
17
|
from returnn.util import better_exchook
|
|
18
18
|
|
|
@@ -526,6 +526,26 @@ def test_get_seq_order_laplace_reference():
|
|
|
526
526
|
assert seq_index == list(seq_index_)
|
|
527
527
|
|
|
528
528
|
|
|
529
|
+
def test_get_seq_len_as_array():
|
|
530
|
+
with tempfile.NamedTemporaryFile(mode="wt", suffix=".npy", encoding="utf8") as tmp_seq_lens_file:
|
|
531
|
+
num_seqs = 3023
|
|
532
|
+
rnd = numpy.random.RandomState(42)
|
|
533
|
+
seq_lens = rnd.randint(1, 23, size=[num_seqs])
|
|
534
|
+
|
|
535
|
+
tmp_seq_lens_file.write(repr({f"seq-{i}": int(seq_lens[i]) for i in range(num_seqs)}))
|
|
536
|
+
tmp_seq_lens_file.write("\n")
|
|
537
|
+
tmp_seq_lens_file.flush()
|
|
538
|
+
|
|
539
|
+
dataset = Dataset()
|
|
540
|
+
dataset.epoch = 1
|
|
541
|
+
dataset.seq_ordering = "laplace:.100"
|
|
542
|
+
dataset._seq_order_seq_lens_file = tmp_seq_lens_file.name
|
|
543
|
+
dataset.get_all_tags = lambda: [f"seq-{i}" for i in range(num_seqs)]
|
|
544
|
+
|
|
545
|
+
seq_lens_ = _get_seq_len_as_array(dataset._get_seq_order_seq_lens_by_idx, num_seqs)
|
|
546
|
+
assert seq_lens_ is dataset._seq_order_seq_lens_by_idx
|
|
547
|
+
|
|
548
|
+
|
|
529
549
|
@contextlib.contextmanager
|
|
530
550
|
def create_ogg_zip_txt_only_dataset_opts(*, text: str = "hello world", seq_tag: str = "sequence0.wav"):
|
|
531
551
|
"""create OggZipDataset dict using temp data, consisting of a single sequence with text only"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-hyper-param-tuning.config
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-record-and-push-to-webserver.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-chunking-blstm.12ax.config
RENAMED
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-contribrnn-lstm.12ax.config
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-maxgradnorm-lstm.12ax.config
RENAMED
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-native-lstm-lowmem.12ax.config
RENAMED
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-native-lstm.12ax.config
RENAMED
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-native-lstm2.12ax.config
RENAMED
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-native-lstm2.12ax.tuned.config
RENAMED
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-neural-transducer.12ax.config
RENAMED
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-rec-explicit-lstm.config
RENAMED
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-rec-explicit-rnn.config
RENAMED
|
File without changes
|
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-search-compiled-graph.py
RENAMED
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-tf-vanilla-lstm.12ax.config
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/demo-upd-mult-model.lstm.12ax.config
RENAMED
|
File without changes
|
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/IAM/IAM_lines/a01-000u-00.png
RENAMED
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/IAM/IAM_lines/a01-007-04.png
RENAMED
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/IAM/IAM_lines/a01-007-06.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/IAM/create_IAM_dataset.py
RENAMED
|
File without changes
|
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/IAM/features/raw/demo.h5
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/artificial/create_test_h5.py
RENAMED
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/artificial/forwardconfig
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/artificial_rgb/forwardconfig
RENAMED
|
File without changes
|
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/demos/mdlstm/artificial_rgb/trainconfig
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/normalization_data.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/datasets/util/feature_extraction.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/.git
RENAMED
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/.gitignore
RENAMED
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/LICENSE
RENAMED
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/README.md
RENAMED
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/aligner.gif
RENAMED
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/check.png
RENAMED
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/core.cu
RENAMED
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/core.h
RENAMED
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/core_cpu.cpp
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{returnn-1.20250922.155846 → returnn-1.20251007.115327}/returnn/extern/WarpRna/warp-rna/ref_rna.py
RENAMED
|
File without changes
|
|
File without changes
|