Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/TingsongYu/PyTorch_Tutorial
/ normalize_invert
Function
normalize_invert
Code/utils/utils.py:141–144 ·
view source on GitHub ↗
(tensor, mean, std)
Source
from the content-addressed store, hash-verified
139
140
141
def
normalize_invert(tensor, mean, std):
142
for
t, m, s in zip(tensor, mean, std):
143
t.mul_(s).add_(m)
144
return
tensor
Callers
1
3_visual_featuremaps.py
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected