Download torch/nn/qat/modules/embedding_ops.py from UMMJ/JSX_TTS: direct link, hf CLI and curl.
- Browser
- Download file 505 Bytes
-
https://huggingface.co/UMMJ/JSX_TTS/resolve/main/torch/nn/qat/modules/embedding_ops.py
- Command line
-
hf download hf://UMMJ/JSX_TTS/torch/nn/qat/modules/embedding_ops.py
-
curl -L -o embedding_ops.py https://huggingface.co/UMMJ/JSX_TTS/resolve/main/torch/nn/qat/modules/embedding_ops.py
505 Bytes
| # flake8: noqa: F401 | |
| r"""QAT Modules | |
| This file is in the process of migration to `torch/ao/nn/qat`, and | |
| is kept here for compatibility while the migration process is ongoing. | |
| If you are adding a new entry/functionality, please, add it to the | |
| appropriate file under the `torch/ao/nn/qat/modules`, | |
| while adding an import statement here. | |
| """ | |
| __all__ = ['Embedding', 'EmbeddingBag'] | |
| from torch.ao.nn.qat.modules.embedding_ops import Embedding | |
| from torch.ao.nn.qat.modules.embedding_ops import EmbeddingBag | |