MCPcopy
hub / github.com/TencentARC/Pixal3D / reshape

Method reshape

pixal3d/modules/sparse/basic.py:165–167  ·  view source on GitHub ↗
(self, *shape)

Source from the content-addressed store, hash-verified

163 return self.replace(new_feats)
164
165 def reshape(self, *shape) -> 'VarLenTensor':
166 new_feats = self.feats.reshape(self.feats.shape[0], *shape)
167 return self.replace(new_feats)
168
169 def unbind(self, dim: int) -> List['VarLenTensor']:
170 return varlen_unbind(self, dim)

Callers 15

transform_verticesFunction · 0.45
transform_normalsFunction · 0.45
transform_meshFunction · 0.45
extract_imageFunction · 0.45
pixel_shuffle_3dFunction · 0.45
patchifyFunction · 0.45
unpatchifyFunction · 0.45
forwardMethod · 0.45
forwardMethod · 0.45
forwardMethod · 0.45
forwardMethod · 0.45

Calls 1

replaceMethod · 0.95

Tested by

no test coverage detected