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

Method __le__

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

Source from the content-addressed store, hash-verified

684 return _call_singa_func(singa.LTFloat, self.data, rhs)
685
686 def __le__(self, rhs):
687 if isinstance(rhs, Tensor):
688 return from_raw_tensor(singa.__le__(self.data, rhs.data))
689 else:
690 return _call_singa_func(singa.LEFloat, self.data, rhs)
691
692 def __gt__(self, rhs):
693 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