Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AIS-SNU/Smart-Infinity
/ init_
Function
init_
DeepSpeedExample/megatron/core/utils.py:158–159 ·
view source on GitHub ↗
(tensor)
Source
from the content-addressed store, hash-verified
156
""
"Init method based on N(0, sigma)."
""
157
158
def
init_(tensor):
159
return
torch.nn.init.normal_(tensor, mean=0.0, std=sigma)
160
161
return
init_
162
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected