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

Function init_

model/modeling_bert.py:43–44  ·  view source on GitHub ↗
(tensor)

Source from the content-addressed store, hash-verified

41
42def normal_init_method(mean, std):
43 def init_(tensor):
44 return torch.nn.init.normal_(tensor, mean=mean, std=std)
45
46 return init_
47

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected