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

Method forward

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

Source from the content-addressed store, hash-verified

48 A GroupNorm layer that converts to float32 before the forward pass.
49 """
50 def forward(self, x: SparseTensor) -> SparseTensor:
51 return super().forward(x.float()).type(x.dtype)
52
53class SparseLayerNorm32(SparseLayerNorm):
54 """

Callers

nothing calls this directly

Calls 3

typeMethod · 0.80
floatMethod · 0.80
forwardMethod · 0.45

Tested by

no test coverage detected