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

Method __lt__

python/singa/tensor.py:704–708  ·  view source on GitHub ↗
(self, rhs)

Source from the content-addressed store, hash-verified

702 return _call_singa_func(singa.Floor, tmp.data)
703
704 def __lt__(self, rhs):
705 if isinstance(rhs, Tensor):
706 return from_raw_tensor(singa.__lt__(self.data, rhs.data))
707 else:
708 return _call_singa_func(singa.LTFloat, self.data, float(rhs))
709
710 def __le__(self, rhs):
711 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