MCPcopy Create free account
hub / github.com/DSL-Lab/StreamSplat / forward

Method forward

model/transformer_utils.py:71–74  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

69 def __init__(self, dim, eps=1e-5):
70 super().__init__(dim, eps=eps)
71 def forward(self, x):
72 type_ = x.dtype
73 ret = super().forward(x.type(torch.float32))
74 return ret.type(type_)
75
76class MLP(nn.Module):
77 def __init__(

Callers

nothing calls this directly

Calls 1

forwardMethod · 0.45

Tested by

no test coverage detected