rnn.py 1.1 KB

12345678910111213141516171819202122
  1. # flake8: noqa: F401
  2. r"""Quantized Dynamic Modules
  3. This file is in the process of migration to `torch/ao/nn/quantized/dynamic`,
  4. and 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/dynamic/modules`,
  7. while adding an import statement here.
  8. """
  9. __all__ = ['pack_weight_bias', 'PackedParameter', 'RNNBase', 'LSTM', 'GRU', 'RNNCellBase', 'RNNCell', 'LSTMCell',
  10. 'GRUCell']
  11. from torch.ao.nn.quantized.dynamic.modules.rnn import pack_weight_bias
  12. from torch.ao.nn.quantized.dynamic.modules.rnn import PackedParameter
  13. from torch.ao.nn.quantized.dynamic.modules.rnn import RNNBase
  14. from torch.ao.nn.quantized.dynamic.modules.rnn import LSTM
  15. from torch.ao.nn.quantized.dynamic.modules.rnn import GRU
  16. from torch.ao.nn.quantized.dynamic.modules.rnn import RNNCellBase
  17. from torch.ao.nn.quantized.dynamic.modules.rnn import RNNCell
  18. from torch.ao.nn.quantized.dynamic.modules.rnn import LSTMCell
  19. from torch.ao.nn.quantized.dynamic.modules.rnn import GRUCell