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