Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
b50aaf0f
"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "888468dd90b4e353225d7d505fa28d2963e65678"
Unverified
Commit
b50aaf0f
authored
May 17, 2022
by
F-G Fernandez
Committed by
GitHub
May 17, 2022
Browse files
docs: Fixed quantized resnet docstring (#6033)
parent
a1232c21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
torchvision/models/quantization/resnet.py
torchvision/models/quantization/resnet.py
+2
-2
No files found.
torchvision/models/quantization/resnet.py
View file @
b50aaf0f
...
@@ -268,7 +268,7 @@ def resnet18(
...
@@ -268,7 +268,7 @@ def resnet18(
**
kwargs
:
Any
,
**
kwargs
:
Any
,
)
->
QuantizableResNet
:
)
->
QuantizableResNet
:
"""ResNet-18 model from
"""ResNet-18 model from
`Deep Residual Learning for Image Recognition <https://arxiv.org/abs/1512.03385
.pdf
>`_
`Deep Residual Learning for Image Recognition <https://arxiv.org/abs/1512.03385>`_
.. note::
.. note::
Note that ``quantize = True`` returns a quantized model with 8 bit
Note that ``quantize = True`` returns a quantized model with 8 bit
...
@@ -317,7 +317,7 @@ def resnet50(
...
@@ -317,7 +317,7 @@ def resnet50(
**
kwargs
:
Any
,
**
kwargs
:
Any
,
)
->
QuantizableResNet
:
)
->
QuantizableResNet
:
"""ResNet-50 model from
"""ResNet-50 model from
`Deep Residual Learning for Image Recognition <https://arxiv.org/abs/1512.03385
.pdf
>`_
`Deep Residual Learning for Image Recognition <https://arxiv.org/abs/1512.03385>`_
.. note::
.. note::
Note that ``quantize = True`` returns a quantized model with 8 bit
Note that ``quantize = True`` returns a quantized model with 8 bit
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment