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

Method __gt__

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

Source from the content-addressed store, hash-verified

714 return _call_singa_func(singa.LEFloat, self.data, float(rhs))
715
716 def __gt__(self, rhs):
717 if isinstance(rhs, Tensor):
718 return from_raw_tensor(singa.__gt__(self.data, rhs.data))
719 else:
720 return _call_singa_func(singa.GTFloat, self.data, float(rhs))
721
722 def __ge__(self, rhs):
723 if isinstance(rhs, Tensor):

Callers 1

forwardMethod · 0.45

Calls 2

from_raw_tensorFunction · 0.70
_call_singa_funcFunction · 0.70

Tested by

no test coverage detected