embedding_ops.py 638 B

123456789101112131415
  1. # flake8: noqa: F401
  2. r"""Quantized Modules
  3. This file is in the process of migration to `torch/ao/nn/quantized`, and
  4. is kept here for compatibility while the migration process is ongoing.
  5. If you are adding a new entry/functionality, please, add it to the
  6. appropriate file under the `torch/ao/nn/quantized/modules`,
  7. while adding an import statement here.
  8. """
  9. __all__ = ['EmbeddingPackedParams', 'Embedding', 'EmbeddingBag']
  10. from torch.ao.nn.quantized.modules.embedding_ops import Embedding
  11. from torch.ao.nn.quantized.modules.embedding_ops import EmbeddingBag
  12. from torch.ao.nn.quantized.modules.embedding_ops import EmbeddingPackedParams