returnn 1.20250103.32004__tar.gz → 1.20250105.184816__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.20250103.32004/returnn.egg-info → returnn-1.20250105.184816}/PKG-INFO +1 -1
- returnn-1.20250105.184816/_setup_info_generated.py +2 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/dims.py +9 -4
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/encoder/conformer.py +1 -0
- returnn-1.20250105.184816/returnn/frontend/encoder/conformer_v2.py +169 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/math_.py +6 -1
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/reduce.py +14 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tensor/_dim_extra.py +1 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816/returnn.egg-info}/PKG-INFO +1 -1
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn.egg-info/SOURCES.txt +1 -0
- returnn-1.20250103.32004/_setup_info_generated.py +0 -2
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/.editorconfig +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/.gitignore +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/.gitmodules +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/.kateconfig +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/CHANGELOG.md +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/CODEOWNERS +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/CONTRIBUTING.md +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/LICENSE +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/MANIFEST.in +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/README.rst +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/12AX.cluster_map +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/_setup_returnn_env.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-fwd.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-horovod-mpi.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-horovod-mpi.py.sh +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-horovod-mpi.sh +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-hyper-param-tuning.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-iter-dataset.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-list-devices.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-lua-torch-layer.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-pretrain.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-record-and-push-to-webserver.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-returnn-as-framework.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-rf-pt-benchmark.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-rf.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-rhn-enwik8.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-sprint-interface.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-att-copy.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-attention.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-chunking-blstm.12ax.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-contribrnn-lstm.12ax.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-enc-dec.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-hard-att-copy.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-lstm-benchmark.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-maxgradnorm-lstm.12ax.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-native-lstm-lowmem.12ax.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-native-lstm.12ax.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-native-lstm2.12ax.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-native-lstm2.12ax.tuned.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-neural-transducer.12ax.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-rec-explicit-lstm.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-rec-explicit-rnn.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-rec-self-att.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-search-compiled-graph.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-vanilla-lstm.12ax.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-timit-lstm-ctc.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-torch.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-upd-mult-model.lstm.12ax.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo.sh +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/IAM/IAM_lines/a01-000u-00.png +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/IAM/IAM_lines/a01-007-04.png +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/IAM/IAM_lines/a01-007-06.png +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/IAM/README.txt +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/IAM/chars.txt +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/IAM/config_demo +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/IAM/config_fwd +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/IAM/config_real +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/IAM/create_IAM_dataset.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/IAM/decode.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/IAM/features/raw/demo.h5 +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/IAM/go.sh +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/IAM/lines.txt +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/IAM/split/eval.txt +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/IAM/split/train.txt +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/IAM/split/valid.txt +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/README.md +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/artificial/create_test_h5.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/artificial/forwardconfig +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/artificial/go.sh +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/artificial/trainconfig +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/artificial_rgb/create_test_h5.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/artificial_rgb/forwardconfig +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/artificial_rgb/go.sh +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/artificial_rgb/trainconfig +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/pyproject.toml +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/requirements.txt +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/__main__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/__old_mod_loader__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/__setup__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/config.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/audio.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/basic.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/bundle_file.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/cached.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/cached2.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/distrib_files.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/generating.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/hdf.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/lm.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/map.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/meta.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/multi_proc.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/normalization_data.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/numpy_dump.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/postprocessing.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/raw_wav.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/sprint.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/stereo.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/util/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/util/feature_extraction.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/util/strings.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/datasets/util/vocabulary.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/engine/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/engine/base.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/engine/batch.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/__main__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/.git +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/.gitignore +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/LICENSE +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/README.md +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/aligner.gif +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/check.png +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/core.cu +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/core.h +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/core_cpu.cpp +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/pytorch_binding/LICENSE +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/pytorch_binding/MANIFEST.in +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/pytorch_binding/README.md +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/pytorch_binding/binding.cpp +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/pytorch_binding/core.cu +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/pytorch_binding/core.h +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/pytorch_binding/requirements.txt +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/pytorch_binding/setup.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/pytorch_binding/warp_rna/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/pytorch_binding/warp_rna/test.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/ref_rna.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/tensorflow_binding/setup.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/tensorflow_binding/src/warp_rna_op.cc +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/tensorflow_binding/src/warp_rna_op_kernel_tmpl.h +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/tensorflow_binding/warp_rna/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/test.cpp +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/graph_editor/README.md +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/graph_editor/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/graph_editor/edit.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/graph_editor/reroute.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/graph_editor/select.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/graph_editor/subgraph.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/graph_editor/transform.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/graph_editor/util.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/forward_iface.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/_backend.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/_native/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/_native/backend.cpp +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/_native/backend.hpp +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/_native/module.cpp +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/_native/module.hpp +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/_native/py_utils.hpp +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/_native/tensor_ops.cpp +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/_native/tensor_ops.hpp +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/_numpy_backend.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/_random_journal.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/_utils.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/array_.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/attention.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/audio/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/audio/mel.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/audio/specaugment.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/backend.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/build_from_dict.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/cond.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/const.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/container.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/control_flow_ctx.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/conv.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/conversions/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/conversions/espnet_e_branchformer.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/conversions/hf_llama.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/conversions/torch_nn.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/decoder/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/decoder/transformer.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/device.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/dropout.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/dtype.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/encoder/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/encoder/base.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/encoder/e_branchformer.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/encoder/transformer.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/gradient.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/graph.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/hooks.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/init.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/label_smoothing.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/linear.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/loop.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/loss.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/matmul.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/module.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/normalization.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/parameter.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/parametrizations.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/parametrize.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/piecewise_linear.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/rand.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/rec.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/run_ctx.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/signal.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/state.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/stepwise_scheduler.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/tensor_array.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/types.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/import_/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/import_/common.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/import_/git.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/import_/import_.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/learning_rate_control.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/log.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/native_op.cpp +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/native_op.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/pretrain.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/sprint/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/sprint/cache.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/sprint/control.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/sprint/error_signals.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/sprint/extern_interface.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/sprint/interface.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tensor/README.md +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tensor/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tensor/_tensor_extra.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tensor/_tensor_mixin_base.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tensor/_tensor_op_overloads.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tensor/control_flow_ctx.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tensor/dim.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tensor/marked_dim.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tensor/tensor.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tensor/tensor_dict.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tensor/utils.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/compat.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/data_pipeline.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/distributed.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/engine.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/frontend_layers/README.md +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/frontend_layers/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/frontend_layers/_backend.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/frontend_layers/_utils.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/frontend_layers/cond.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/frontend_layers/config_entry_points.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/frontend_layers/debug_eager_mode.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/frontend_layers/dims.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/frontend_layers/layer.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/frontend_layers/loop.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/frontend_layers/make_layer.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/frontend_layers/masked_computation.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/frontend_layers/parameter_assign.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/frontend_layers/prev_tensor_ref.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/frontend_low_level/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/frontend_low_level/_backend.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/horovod.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/hyper_param_tuning.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/layers/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/layers/base.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/layers/basic.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/layers/rec.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/layers/segmental_model.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/layers/signal_processing.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/layers/variable.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/native_op.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/network.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/sprint.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/updater.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/util/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/util/basic.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/util/data.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/util/gradient_checkpoint.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/util/ken_lm.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/tf/util/open_fst.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/README.md +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/data/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/data/extern_data.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/data/pipeline.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/data/queued_data_iter.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/data/returnn_dataset_wrapper.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/data/tensor_utils.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/distributed.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/engine.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/frontend/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/frontend/_backend.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/frontend/_rand.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/frontend/bridge.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/frontend/raw_ops.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/optim/README.md +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/optim/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/optim/lion.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/updater.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/util/README.md +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/util/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/util/array_.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/util/debug_inf_nan.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/util/diagnose_gpu.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/util/exception_helper.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/util/gradient_checkpoint.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/util/module.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/torch/util/scaled_gradient.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/util/__init__.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/util/basic.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/util/better_exchook.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/util/bpe.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/util/debug.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/util/debug_helpers.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/util/file_cache.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/util/fsa.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/util/literal_py_to_pickle.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/util/math.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/util/multi_proc_non_daemonic_spawn.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/util/native_code_compiler.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/util/pprint.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/util/py-to-pickle.cpp +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/util/py_compat.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/util/py_ext_mod_compiler.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/util/result_with_reason.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/util/sig_proc.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/util/task_system.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/util/train_proc_manager.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/util/watch_memory.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn.egg-info/dependency_links.txt +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn.egg-info/top_level.txt +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/rnn.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/setup.cfg +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/setup.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/DummySprintExec.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/PyCharm-inspection-profile.xml +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/PyCharm.idea/.gitignore +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/PyCharm.idea/.name +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/PyCharm.idea/codeStyleSettings.xml +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/PyCharm.idea/codeStyles/Project.xml +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/PyCharm.idea/codeStyles/codeStyleConfig.xml +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/PyCharm.idea/inspectionProfiles/Project_Default.xml +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/PyCharm.idea/inspectionProfiles/profiles_settings.xml +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/PyCharm.idea/misc.xml +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/PyCharm.idea/modules.xml +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/PyCharm.idea/returnn.iml +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/PyCharm.idea/scopes/scope_settings.xml +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/_set_num_threads1.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/_setup_returnn_env.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/_setup_test_env.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/bpe-unicode-demo.codes +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/bpe-unicode-demo.vocab +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/lexicon_opt.fst +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/lexicon_opt.isyms +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/lexicon_opt.jpg +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/lexicon_opt.osyms +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/lint_common.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/pycharm-inspect.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/pylint.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/returnn-as-framework.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/rf_utils.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/spelling.dic +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_Config.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_Dataset.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_Fsa.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_GeneratingDataset.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_HDFDataset.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_LearningRateControl.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_Log.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_MultiProcDataset.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_Pretrain.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_ResNet.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_SprintDataset.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_SprintInterface.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_TFEngine.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_TFNativeOp.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_TFNetworkLayer.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_TFNetworkRecLayer.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_TFNetworkSigProcLayer.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_TFUpdater.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_TFUtil.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_TF_determinism.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_TaskSystem.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_TaskSystem_SharedMem.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_TranslationDataset.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_Util.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_demos.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_fork_exec.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_hdf_dump.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_rf_array.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_rf_attention.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_rf_base.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_rf_cond.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_rf_const.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_rf_container.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_rf_conv.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_rf_decoder_transformer.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_rf_encoder_conformer.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_rf_gradient.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_rf_label_smoothing.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_rf_loop.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_rf_math.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_rf_normalization.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_rf_piecewise_linear.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_rf_rec.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_rf_reduce.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_rf_signal.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_tensor.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_tools.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_torch_dataset.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_torch_engine.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_torch_frontend.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_torch_internal_frontend.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/test_torch_util.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tests/torch_utils.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/_setup_returnn_env.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/analyze-dataset-batches.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/bliss-collect-seq-lens.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/bliss-dump-text.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/bliss-get-segment-names.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/bliss-to-ogg-zip.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/bpe-create-lexicon.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/calculate-word-error-rate.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/cleanup-old-models.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/collect-orth-symbols.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/collect-words.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/compile_native_op.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/compile_tf_graph.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/debug-dump-search-scores.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/debug-plot-search-scores.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/dump-dataset-raw-strings.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/dump-dataset.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/dump-forward-stats.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/dump-forward.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/dump-network-json.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/dump-pickle.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/extract_state_tying_from_dataset.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/get-attention-weights.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/get-best-model-epoch.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/hdf_dump.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/hdf_dump_translation_dataset.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/import-blocks-mt-model.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/import-t2t-mt-model.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/lattice_rescorer/.gitignore +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/lattice_rescorer/Makefile +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/lattice_rescorer/README.md +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/lattice_rescorer/example/README.md +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/lattice_rescorer/example/libs_list +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/lattice_rescorer/example/network.040/i600_m600_m600.sgd_b16_lr0_cl2.newbobabs.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/lattice_rescorer/example/network.040/i600_m600_m600.sgd_b16_lr0_cl2.newbobabs.keep_over_epoch.lstm2.config +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/lattice_rescorer/example/rescore_lattice.sh +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/lattice_rescorer/example/state_vars_list +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/lattice_rescorer/example/tensor_names_list +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/lattice_rescorer/file.h +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/lattice_rescorer/htklatticerescorer.cc +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/lattice_rescorer/htklatticerescorer.h +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/lattice_rescorer/main.cc +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/lattice_rescorer/rescorer.h +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/lattice_rescorer/vocabulary.cc +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/lattice_rescorer/vocabulary.h +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/tf_avg_checkpoints.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/tf_inspect_checkpoint.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/tf_inspect_summary_log.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/torch_avg_checkpoints.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/torch_export_to_onnx.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/torch_inspect_checkpoint.py +0 -0
- {returnn-1.20250103.32004 → returnn-1.20250105.184816}/tools/torch_inspect_checkpoint_and_opt.py +0 -0
|
@@ -133,10 +133,13 @@ def dim_match_priority_when_needed(dim: Dim, *other_dims: Dim) -> Dim:
|
|
|
133
133
|
return dim
|
|
134
134
|
|
|
135
135
|
|
|
136
|
-
def num_elements_of_shape(
|
|
136
|
+
def num_elements_of_shape(
|
|
137
|
+
dims: Union[Dim, Sequence[Dim]], *, use_mask: bool = True, device: Optional[str] = None
|
|
138
|
+
) -> Union[int, Tensor]:
|
|
137
139
|
"""
|
|
138
140
|
:param dims:
|
|
139
141
|
:param use_mask:
|
|
142
|
+
:param device: only for the case when we return a Tensor. by default, this is CPU (just as the size tensor).
|
|
140
143
|
:return: num elements of a tensor of shape dims, properly considering masking
|
|
141
144
|
"""
|
|
142
145
|
if isinstance(dims, Dim):
|
|
@@ -149,8 +152,10 @@ def num_elements_of_shape(dims: Union[Dim, Sequence[Dim]], *, use_mask: bool = T
|
|
|
149
152
|
if all(dim.is_static() for dim in dims):
|
|
150
153
|
n = 1
|
|
151
154
|
for dim in dims:
|
|
152
|
-
n *= dim.
|
|
155
|
+
n *= dim.size
|
|
153
156
|
return n
|
|
157
|
+
if len(dims) == 1:
|
|
158
|
+
return dims[0].get_size_tensor(device=device)
|
|
154
159
|
|
|
155
160
|
n: Union[int, Tensor] = 1
|
|
156
161
|
postponed_dims = []
|
|
@@ -164,9 +169,9 @@ def num_elements_of_shape(dims: Union[Dim, Sequence[Dim]], *, use_mask: bool = T
|
|
|
164
169
|
related_dims.append(dim_)
|
|
165
170
|
if not related_dims:
|
|
166
171
|
if dim.is_static():
|
|
167
|
-
n *= dim.
|
|
172
|
+
n *= dim.size
|
|
168
173
|
else:
|
|
169
|
-
n *= dim.
|
|
174
|
+
n *= dim.get_size_tensor(device=device)
|
|
170
175
|
else:
|
|
171
176
|
postponed_dims.append(dim)
|
|
172
177
|
if postponed_dims:
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/frontend/encoder/conformer.py
RENAMED
|
@@ -312,6 +312,7 @@ class ConformerEncoder(ISeqDownsamplingEncoder):
|
|
|
312
312
|
sequential=rf.Sequential,
|
|
313
313
|
):
|
|
314
314
|
"""
|
|
315
|
+
:param in_dim: input features (e.g. MFCC)
|
|
315
316
|
:param out_dim: the output feature dimension
|
|
316
317
|
:param num_layers: the number of encoder layers
|
|
317
318
|
:param input_layer: input/frontend/prenet with potential subsampling.
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Conformer model, variant of Transformer with additional convolution, introduced for speech recognition.
|
|
3
|
+
Ref: https://arxiv.org/abs/2005.08100
|
|
4
|
+
|
|
5
|
+
About details of the specific implementation and other implementations, see:
|
|
6
|
+
https://github.com/rwth-i6/returnn_common/issues/233
|
|
7
|
+
|
|
8
|
+
V2: Split frontend and main encoder.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
from __future__ import annotations
|
|
12
|
+
from typing import Optional, Union, Any, Tuple, Dict, Callable
|
|
13
|
+
import copy as _copy
|
|
14
|
+
from returnn.tensor import Tensor, Dim
|
|
15
|
+
import returnn.frontend as rf
|
|
16
|
+
from returnn.util.basic import NotSpecified
|
|
17
|
+
from .base import ISeqDownsamplingEncoder, ISeqFramewiseEncoder
|
|
18
|
+
from .conformer import ConformerConvSubsample, ConformerEncoderLayer
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class ConformerFrontend(ISeqDownsamplingEncoder):
|
|
22
|
+
"""
|
|
23
|
+
This is just the combination of:
|
|
24
|
+
- input_layer (ConformerConvSubsample)
|
|
25
|
+
- input_projection (Linear without bias)
|
|
26
|
+
- input_embedding_scale
|
|
27
|
+
- input_dropout
|
|
28
|
+
|
|
29
|
+
This is intended to be used together with :class:`ConformerEncoderV2`.
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
def __init__(
|
|
33
|
+
self,
|
|
34
|
+
in_dim: Dim,
|
|
35
|
+
out_dim: Dim = Dim(512, name="conformer-enc-default-out-dim"),
|
|
36
|
+
*,
|
|
37
|
+
input_layer: Optional[Union[ConformerConvSubsample, ISeqDownsamplingEncoder, rf.Module, Any]],
|
|
38
|
+
input_embedding_scale: float = 1.0,
|
|
39
|
+
input_dropout: float = 0.1,
|
|
40
|
+
):
|
|
41
|
+
"""
|
|
42
|
+
:param in_dim: input features (e.g. MFCC)
|
|
43
|
+
:param out_dim: the output feature dimension
|
|
44
|
+
:param input_layer: input/frontend/prenet with potential subsampling.
|
|
45
|
+
(x, in_spatial_dim) -> (y, out_spatial_dim)
|
|
46
|
+
:param input_embedding_scale: applied after input_layer. 1.0 by default for historic reasons.
|
|
47
|
+
In std Transformer, also ESPnet E-Branchformer and Conformer, this is sqrt(out_dim).
|
|
48
|
+
:param input_dropout: applied after input_projection(input_layer(x))
|
|
49
|
+
"""
|
|
50
|
+
super().__init__()
|
|
51
|
+
|
|
52
|
+
self.in_dim = in_dim
|
|
53
|
+
self.out_dim = out_dim
|
|
54
|
+
self.dropout_broadcast = rf.dropout_broadcast_default()
|
|
55
|
+
|
|
56
|
+
# TODO once we figured out good defaults, we would create ConformerConvSubsample here when not given
|
|
57
|
+
if callable(input_layer) or input_layer is None:
|
|
58
|
+
pass # leave it as is
|
|
59
|
+
elif isinstance(input_layer, dict):
|
|
60
|
+
input_layer = rf.build_from_dict(input_layer, in_dim)
|
|
61
|
+
input_layer: ConformerConvSubsample # maybe not true, but assume for some attribs
|
|
62
|
+
else:
|
|
63
|
+
raise TypeError(f"unexpected input_layer {input_layer!r}")
|
|
64
|
+
self.input_layer = input_layer
|
|
65
|
+
self.input_projection = (
|
|
66
|
+
rf.Linear(self.input_layer.out_dim if self.input_layer else self.in_dim, self.out_dim, with_bias=False)
|
|
67
|
+
if input_layer
|
|
68
|
+
else None
|
|
69
|
+
)
|
|
70
|
+
self.input_embedding_scale = input_embedding_scale
|
|
71
|
+
self.input_dropout = input_dropout
|
|
72
|
+
|
|
73
|
+
def __call__(self, source: Tensor, *, in_spatial_dim: Dim) -> Tuple[Tensor, Dim]:
|
|
74
|
+
"""forward"""
|
|
75
|
+
if self.input_layer:
|
|
76
|
+
x_subsample, out_spatial_dim = self.input_layer(source, in_spatial_dim=in_spatial_dim)
|
|
77
|
+
else:
|
|
78
|
+
x_subsample, out_spatial_dim = source, in_spatial_dim
|
|
79
|
+
x = self.input_projection(x_subsample) if self.input_projection else x_subsample
|
|
80
|
+
if self.input_embedding_scale != 1.0:
|
|
81
|
+
x = x * self.input_embedding_scale
|
|
82
|
+
x = rf.dropout(x, self.input_dropout, axis=self.dropout_broadcast and self.out_dim)
|
|
83
|
+
return x, out_spatial_dim
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
class ConformerEncoderV2(ISeqFramewiseEncoder):
|
|
87
|
+
"""
|
|
88
|
+
Conformer encoder, without frontend.
|
|
89
|
+
|
|
90
|
+
V2: Without the input_layer / frontend module, i.e. just the conformer layers.
|
|
91
|
+
Use ConformerFrontend for the frontend.
|
|
92
|
+
To get the V1 case, add this in front:
|
|
93
|
+
"""
|
|
94
|
+
|
|
95
|
+
def __init__(
|
|
96
|
+
self,
|
|
97
|
+
out_dim: Dim = Dim(512, name="conformer-enc-default-out-dim"),
|
|
98
|
+
*,
|
|
99
|
+
num_layers: int,
|
|
100
|
+
ff_dim: Dim = NotSpecified,
|
|
101
|
+
ff_activation: Union[Callable[[Tensor], Tensor], Dict[str, Any], rf.Module] = NotSpecified,
|
|
102
|
+
dropout: float = 0.1,
|
|
103
|
+
conv_kernel_size: int = NotSpecified,
|
|
104
|
+
conv_norm: Union[rf.BatchNorm, type, Dict[str, Any], Any] = NotSpecified,
|
|
105
|
+
num_heads: int = 4,
|
|
106
|
+
att_dropout: float = 0.1,
|
|
107
|
+
encoder_layer: Optional[Union[ConformerEncoderLayer, rf.Module, type, Dict[str, Any], Any]] = None,
|
|
108
|
+
encoder_layer_opts: Optional[Dict[str, Any]] = None,
|
|
109
|
+
sequential=rf.Sequential,
|
|
110
|
+
):
|
|
111
|
+
"""
|
|
112
|
+
:param out_dim: the output feature dimension
|
|
113
|
+
:param num_layers: the number of encoder layers
|
|
114
|
+
:param ff_dim: the dimension of feed-forward layers. 2048 originally, or 4 times out_dim
|
|
115
|
+
:param ff_activation: activation function for feed-forward network
|
|
116
|
+
:param dropout: the dropout value for the FF block
|
|
117
|
+
:param conv_kernel_size: the kernel size of depthwise convolution in the conv block
|
|
118
|
+
:param conv_norm: used for the conv block. Batch norm originally
|
|
119
|
+
:param num_heads: the number of attention heads
|
|
120
|
+
:param att_dropout: attention dropout value
|
|
121
|
+
:param encoder_layer: an instance of :class:`ConformerEncoderLayer` or similar
|
|
122
|
+
:param encoder_layer_opts: options for the encoder layer
|
|
123
|
+
:param sequential:
|
|
124
|
+
"""
|
|
125
|
+
super().__init__()
|
|
126
|
+
|
|
127
|
+
self.out_dim = out_dim
|
|
128
|
+
self.dropout = dropout
|
|
129
|
+
self.dropout_broadcast = rf.dropout_broadcast_default()
|
|
130
|
+
|
|
131
|
+
if not encoder_layer or isinstance(encoder_layer, (dict, type)):
|
|
132
|
+
encoder_layer_opts_ = dict(
|
|
133
|
+
out_dim=out_dim,
|
|
134
|
+
ff_dim=ff_dim,
|
|
135
|
+
ff_activation=ff_activation,
|
|
136
|
+
dropout=dropout,
|
|
137
|
+
conv_kernel_size=conv_kernel_size,
|
|
138
|
+
conv_norm=conv_norm,
|
|
139
|
+
num_heads=num_heads,
|
|
140
|
+
att_dropout=att_dropout,
|
|
141
|
+
)
|
|
142
|
+
encoder_layer_opts_ = {k: v for (k, v) in encoder_layer_opts_.items() if v is not NotSpecified}
|
|
143
|
+
if encoder_layer_opts:
|
|
144
|
+
encoder_layer_opts_.update(encoder_layer_opts)
|
|
145
|
+
if not encoder_layer:
|
|
146
|
+
encoder_layer = ConformerEncoderLayer(**encoder_layer_opts_)
|
|
147
|
+
elif isinstance(encoder_layer, type):
|
|
148
|
+
encoder_layer = encoder_layer(**encoder_layer_opts_)
|
|
149
|
+
elif isinstance(encoder_layer, dict):
|
|
150
|
+
# Note: Reuse all the encoder_layer_opts_.
|
|
151
|
+
# If this does not make sense for the specific encoder_layer class here,
|
|
152
|
+
# we would suggest to use a different ConformerEncoder class.
|
|
153
|
+
# (The alternative, to not reuse encoder_layer_opts_ here,
|
|
154
|
+
# would probably be more confusing, as those options are all ignored then.
|
|
155
|
+
# It's also not clear what args to pass then and what not.)
|
|
156
|
+
# (Maybe we should do a ConformerEncoderV2 if this is confusing here...)
|
|
157
|
+
encoder_layer_opts_ = {k: v for (k, v) in encoder_layer_opts_.items() if k not in encoder_layer}
|
|
158
|
+
encoder_layer = rf.build_from_dict(encoder_layer, **encoder_layer_opts_)
|
|
159
|
+
else:
|
|
160
|
+
raise TypeError(f"unexpected encoder_layer {encoder_layer!r}")
|
|
161
|
+
else:
|
|
162
|
+
if not callable(encoder_layer):
|
|
163
|
+
raise TypeError(f"{self}: invalid non-callable encoder_layer {encoder_layer!r}")
|
|
164
|
+
|
|
165
|
+
self.layers = sequential(_copy.deepcopy(encoder_layer) for _ in range(num_layers))
|
|
166
|
+
|
|
167
|
+
def __call__(self, x: Tensor, *, spatial_dim: Dim, collected_outputs: Optional[Dict[str, Tensor]] = None) -> Tensor:
|
|
168
|
+
"""forward"""
|
|
169
|
+
return self.layers(x, spatial_dim=spatial_dim, collected_outputs=collected_outputs)
|
|
@@ -441,10 +441,15 @@ def log(a: Tensor) -> Tensor:
|
|
|
441
441
|
return a._raw_backend.activation(a, "log")
|
|
442
442
|
|
|
443
443
|
|
|
444
|
+
_SafeLogEps = {"float16": 6e-08, "bfloat16": 9.1835e-41, "float32": 1.4013e-45, "float64": 4.9407e-324}
|
|
445
|
+
|
|
446
|
+
|
|
444
447
|
def safe_log(a: Tensor, *, eps: Optional[float] = None) -> Tensor:
|
|
445
448
|
"""safe_log"""
|
|
446
449
|
if eps is None:
|
|
447
|
-
|
|
450
|
+
if a.dtype not in _SafeLogEps:
|
|
451
|
+
raise NotImplementedError(f"safe_log not implemented for dtype {a.dtype}")
|
|
452
|
+
eps = _SafeLogEps[a.dtype]
|
|
448
453
|
# noinspection PyProtectedMember
|
|
449
454
|
return a._raw_backend.safe_log(a, eps=eps)
|
|
450
455
|
|
|
@@ -16,6 +16,7 @@ __all__ = [
|
|
|
16
16
|
"reduce_min",
|
|
17
17
|
"reduce_mean",
|
|
18
18
|
"reduce_logsumexp",
|
|
19
|
+
"reduce_logmeanexp",
|
|
19
20
|
"reduce_any",
|
|
20
21
|
"reduce_all",
|
|
21
22
|
"reduce_argmin",
|
|
@@ -106,6 +107,19 @@ def reduce_logsumexp(source: Tensor[T], *, axis: Union[Dim, Sequence[Dim]], use_
|
|
|
106
107
|
return reduce(source=source, mode="logsumexp", axis=axis, use_mask=use_mask)
|
|
107
108
|
|
|
108
109
|
|
|
110
|
+
def reduce_logmeanexp(source: Tensor[T], *, axis: Union[Dim, Sequence[Dim]], use_mask: bool = True) -> Tensor[T]:
|
|
111
|
+
"""
|
|
112
|
+
Reduce the tensor along the given axis
|
|
113
|
+
|
|
114
|
+
:param source:
|
|
115
|
+
:param axis:
|
|
116
|
+
:param use_mask: if True (default), use the time mask (part of dim tag) to ignore padding frames
|
|
117
|
+
:return: tensor with axis removed
|
|
118
|
+
"""
|
|
119
|
+
s = reduce_logsumexp(source, axis=axis, use_mask=use_mask)
|
|
120
|
+
return s - rf.safe_log(rf.cast(rf.num_elements_of_shape(axis, use_mask=use_mask, device=s.device), s.dtype))
|
|
121
|
+
|
|
122
|
+
|
|
109
123
|
def reduce_any(source: Tensor[T], *, axis: Union[Dim, Sequence[Dim]], use_mask: bool = True) -> Tensor[T]:
|
|
110
124
|
"""
|
|
111
125
|
Reduce the tensor along the given axis
|
|
@@ -218,6 +218,7 @@ returnn/frontend/decoder/transformer.py
|
|
|
218
218
|
returnn/frontend/encoder/__init__.py
|
|
219
219
|
returnn/frontend/encoder/base.py
|
|
220
220
|
returnn/frontend/encoder/conformer.py
|
|
221
|
+
returnn/frontend/encoder/conformer_v2.py
|
|
221
222
|
returnn/frontend/encoder/e_branchformer.py
|
|
222
223
|
returnn/frontend/encoder/transformer.py
|
|
223
224
|
returnn/import_/__init__.py
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/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.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-chunking-blstm.12ax.config
RENAMED
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-contribrnn-lstm.12ax.config
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-maxgradnorm-lstm.12ax.config
RENAMED
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-native-lstm-lowmem.12ax.config
RENAMED
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-native-lstm.12ax.config
RENAMED
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-native-lstm2.12ax.config
RENAMED
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-native-lstm2.12ax.tuned.config
RENAMED
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-neural-transducer.12ax.config
RENAMED
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-rec-explicit-lstm.config
RENAMED
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-rec-explicit-rnn.config
RENAMED
|
File without changes
|
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-search-compiled-graph.py
RENAMED
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-tf-vanilla-lstm.12ax.config
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/demo-upd-mult-model.lstm.12ax.config
RENAMED
|
File without changes
|
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/IAM/IAM_lines/a01-000u-00.png
RENAMED
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/IAM/IAM_lines/a01-007-04.png
RENAMED
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/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.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/IAM/create_IAM_dataset.py
RENAMED
|
File without changes
|
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/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.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/artificial/create_test_h5.py
RENAMED
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/artificial/forwardconfig
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/artificial_rgb/create_test_h5.py
RENAMED
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/demos/mdlstm/artificial_rgb/forwardconfig
RENAMED
|
File without changes
|
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/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
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/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
|
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/.gitignore
RENAMED
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/LICENSE
RENAMED
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/README.md
RENAMED
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/aligner.gif
RENAMED
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/check.png
RENAMED
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/core.cu
RENAMED
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/core.h
RENAMED
|
File without changes
|
{returnn-1.20250103.32004 → returnn-1.20250105.184816}/returnn/extern/WarpRna/warp-rna/core_cpu.cpp
RENAMED
|
File without changes
|