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
10a387a3
Commit
10a387a3
authored
Sep 28, 2017
by
Soumith Chintala
Committed by
GitHub
Sep 28, 2017
Browse files
Merge pull request #276 from adham/patch-1
fix a typo in normalize: an tensor -> a tensor
parents
2e4a3f37
b6ef2f1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchvision/transforms.py
torchvision/transforms.py
+1
-1
No files found.
torchvision/transforms.py
View file @
10a387a3
...
@@ -120,7 +120,7 @@ def to_pil_image(pic):
...
@@ -120,7 +120,7 @@ def to_pil_image(pic):
def
normalize
(
tensor
,
mean
,
std
):
def
normalize
(
tensor
,
mean
,
std
):
"""Normalize a
n
tensor image with mean and standard deviation.
"""Normalize a tensor image with mean and standard deviation.
See ``Normalize`` for more details.
See ``Normalize`` for more details.
...
...
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