MCPcopy Create free account
hub / github.com/apache/singa / __lt__

Method __lt__

examples/model_selection/Trails/singa_pkg_code/tensor.py:680–684  ·  view source on GitHub ↗
(self, rhs)

Source from the content-addressed store, hash-verified

678 return _call_singa_func(singa.Floor, tmp.data)
679
680 def __lt__(self, rhs):
681 if isinstance(rhs, Tensor):
682 return from_raw_tensor(singa.__lt__(self.data, rhs.data))
683 else:
684 return _call_singa_func(singa.LTFloat, self.data, rhs)
685
686 def __le__(self, rhs):
687 if isinstance(rhs, Tensor):

Callers

nothing calls this directly

Calls 2

from_raw_tensorFunction · 0.70
_call_singa_funcFunction · 0.70

Tested by

no test coverage detected