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
59df482d
Unverified
Commit
59df482d
authored
Jan 29, 2021
by
Nicolas Hug
Committed by
GitHub
Jan 29, 2021
Browse files
[BC-breaking] remove normalize from save_image (#3324)
parent
a3c0e67c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
torchvision/utils.py
torchvision/utils.py
+0
-1
No files found.
torchvision/utils.py
View file @
59df482d
...
@@ -115,7 +115,6 @@ def make_grid(
...
@@ -115,7 +115,6 @@ def make_grid(
def
save_image
(
def
save_image
(
tensor
:
Union
[
torch
.
Tensor
,
List
[
torch
.
Tensor
]],
tensor
:
Union
[
torch
.
Tensor
,
List
[
torch
.
Tensor
]],
fp
:
Union
[
Text
,
pathlib
.
Path
,
BinaryIO
],
fp
:
Union
[
Text
,
pathlib
.
Path
,
BinaryIO
],
normalize
:
bool
=
False
,
format
:
Optional
[
str
]
=
None
,
format
:
Optional
[
str
]
=
None
,
**
kwargs
**
kwargs
)
->
None
:
)
->
None
:
...
...
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