MCPcopy Create free account
hub / github.com/microsoft/TRELLIS / forward

Method forward

trellis/modules/sparse/norm.py:57–58  ·  view source on GitHub ↗
(self, x: SparseTensor)

Source from the content-addressed store, hash-verified

55 A LayerNorm layer that converts to float32 before the forward pass.
56 """
57 def forward(self, x: SparseTensor) -> SparseTensor:
58 return super().forward(x.float()).type(x.dtype)

Callers

nothing calls this directly

Calls 3

typeMethod · 0.80
floatMethod · 0.80
forwardMethod · 0.45

Tested by

no test coverage detected