MCPcopy Index your code
hub / github.com/microsoft/TRELLIS / __rtruediv__

Method __rtruediv__

trellis/modules/sparse/basic.py:341–342  ·  view source on GitHub ↗
(self, other: Union[torch.Tensor, 'SparseTensor', float])

Source from the content-addressed store, hash-verified

339 return self.__elemwise__(other, torch.div)
340
341 def __rtruediv__(self, other: Union[torch.Tensor, 'SparseTensor', float]) -> 'SparseTensor':
342 return self.__elemwise__(other, lambda x, y: torch.div(y, x))
343
344 def __getitem__(self, idx):
345 if isinstance(idx, int):

Callers

nothing calls this directly

Calls 1

__elemwise__Method · 0.95

Tested by

no test coverage detected