Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/microsoft/TRELLIS
/ forward
Method
forward
trellis/modules/sparse/linear.py:14–15 ·
view source on GitHub ↗
(self, input: SparseTensor)
Source
from the content-addressed store, hash-verified
12
super(SparseLinear, self).__init__(in_features, out_features, bias)
13
14
def
forward(self, input: SparseTensor) -> SparseTensor:
15
return
input.replace(super().forward(input.feats))
Callers
nothing calls this directly
Calls
1
replace
Method · 0.80
Tested by
no test coverage detected