MCPcopy Create free account
hub / github.com/JasonLSC/GSCodec_Studio / random_init

Method random_init

examples/utils.py:27–28  ·  view source on GitHub ↗
(self, std: float)

Source from the content-addressed store, hash-verified

25 torch.nn.init.zeros_(self.embeds.weight)
26
27 def random_init(self, std: float):
28 torch.nn.init.normal_(self.embeds.weight, std=std)
29
30 def forward(self, camtoworlds: Tensor, embed_ids: Tensor) -> Tensor:
31 """Adjust camera pose based on deltas.

Callers 3

__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected