resnet_quant.rst 747 B

12345678910111213141516171819202122232425
  1. Quantized ResNet
  2. ================
  3. .. currentmodule:: torchvision.models.quantization
  4. The Quantized ResNet model is based on the `Deep Residual Learning for Image Recognition
  5. <https://arxiv.org/abs/1512.03385>`_ paper.
  6. Model builders
  7. --------------
  8. The following model builders can be used to instantiate a quantized ResNet
  9. model, with or without pre-trained weights. All the model builders internally
  10. rely on the ``torchvision.models.quantization.resnet.QuantizableResNet``
  11. base class. Please refer to the `source code
  12. <https://github.com/pytorch/vision/blob/main/torchvision/models/quantization/resnet.py>`_
  13. for more details about this class.
  14. .. autosummary::
  15. :toctree: generated/
  16. :template: function.rst
  17. resnet18
  18. resnet50