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

Method __rtruediv__

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

Source from the content-addressed store, hash-verified

233 return self.__elemwise__(other, torch.div)
234
235 def __rtruediv__(self, other: Union[torch.Tensor, 'VarLenTensor', float]) -> 'VarLenTensor':
236 return self.__elemwise__(other, lambda x, y: torch.div(y, x))
237
238 def __getitem__(self, idx):
239 if isinstance(idx, int):

Callers

nothing calls this directly

Calls 1

__elemwise__Method · 0.95

Tested by

no test coverage detected