activation.py 528 B

1234567891011121314151617181920
  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. from torch.ao.nn.quantized.modules.activation import (
  10. ELU,
  11. Hardswish,
  12. LeakyReLU,
  13. MultiheadAttention,
  14. PReLU,
  15. ReLU6,
  16. Sigmoid,
  17. Softmax,
  18. )