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

Method __rmul__

pixal3d/modules/sparse/basic.py:229–230  ·  view source on GitHub ↗
(self, other: Union[torch.Tensor, 'VarLenTensor', float])

Source from the content-addressed store, hash-verified

227 return self.__elemwise__(other, torch.mul)
228
229 def __rmul__(self, other: Union[torch.Tensor, 'VarLenTensor', float]) -> 'VarLenTensor':
230 return self.__elemwise__(other, torch.mul)
231
232 def __truediv__(self, other: Union[torch.Tensor, 'VarLenTensor', float]) -> 'VarLenTensor':
233 return self.__elemwise__(other, torch.div)

Callers

nothing calls this directly

Calls 1

__elemwise__Method · 0.95

Tested by

no test coverage detected