Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
type
Method · 0.80
float
Method · 0.80
forward
Method · 0.45
Tested by
no test coverage detected