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

Method __ge__

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

Source from the content-addressed store, hash-verified

720 return _call_singa_func(singa.GTFloat, self.data, float(rhs))
721
722 def __ge__(self, rhs):
723 if isinstance(rhs, Tensor):
724 return from_raw_tensor(singa.__ge__(self.data, rhs.data))
725 else:
726 return _call_singa_func(singa.GEFloat, self.data, float(rhs))
727
728 def __eq__(self, rhs):
729 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