MCPcopy Create free account
hub / github.com/THUDM/GLM / init_

Function init_

model/modeling_glm.py:34–35  ·  view source on GitHub ↗
(tensor)

Source from the content-addressed store, hash-verified

32 """
33
34 def init_(tensor):
35 return torch.nn.init.normal_(tensor, mean=0.0, std=std)
36
37 return init_
38

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected