Skip to content

Commit ff905c5

Browse files
YosuaMichaelfacebook-github-bot
authored andcommitted
[fbsync] docs: Fixed quantized resnet docstring (#6033)
Reviewed By: NicolasHug Differential Revision: D36760915 fbshipit-source-id: 5d30cb67a2c75811d6a9c5cf2f44a0888e887324
1 parent 567d414 commit ff905c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torchvision/models/quantization/resnet.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def resnet18(
268268
**kwargs: Any,
269269
) -> QuantizableResNet:
270270
"""ResNet-18 model from
271-
`Deep Residual Learning for Image Recognition <https://arxiv.org/abs/1512.03385.pdf>`_
271+
`Deep Residual Learning for Image Recognition <https://arxiv.org/abs/1512.03385>`_
272272
273273
.. note::
274274
Note that ``quantize = True`` returns a quantized model with 8 bit
@@ -317,7 +317,7 @@ def resnet50(
317317
**kwargs: Any,
318318
) -> QuantizableResNet:
319319
"""ResNet-50 model from
320-
`Deep Residual Learning for Image Recognition <https://arxiv.org/abs/1512.03385.pdf>`_
320+
`Deep Residual Learning for Image Recognition <https://arxiv.org/abs/1512.03385>`_
321321
322322
.. note::
323323
Note that ``quantize = True`` returns a quantized model with 8 bit

0 commit comments

Comments
 (0)