MCPcopy Create free account
hub / github.com/microsoft/TRELLIS.2 / dim

Method dim

trellis2/modules/sparse/basic.py:71–72  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

69 return torch.Size([len(self.layout), *self.feats.shape[1:]])
70
71 def dim(self) -> int:
72 return len(self.shape)
73
74 @property
75 def ndim(self) -> int:

Callers 10

ndimMethod · 0.95
patchifyFunction · 0.80
unpatchifyFunction · 0.80
forwardMethod · 0.80
render_framesFunction · 0.80
to_glbFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected