_numeric_suite_fx.py 752 B

1234567891011121314151617181920212223242526
  1. # flake8: noqa: F401
  2. r"""
  3. This file is in the process of migration to `torch/ao/quantization`, 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. `torch/ao/ns/_numeric_suite_fx.py`, while adding an import statement
  7. here.
  8. """
  9. from torch.ao.ns._numeric_suite_fx import (
  10. RNNReturnType,
  11. OutputLogger,
  12. NSTracer,
  13. _extract_weights_one_model,
  14. _extract_weights_impl,
  15. extract_weights,
  16. _add_loggers_one_model,
  17. _add_loggers_impl,
  18. add_loggers,
  19. _extract_logger_info_one_model,
  20. extract_logger_info,
  21. _add_shadow_loggers_impl,
  22. add_shadow_loggers,
  23. extract_shadow_logger_info,
  24. extend_logger_results_with_comparison,
  25. )