(self, lhs)
| 710 | return _call_singa_func(singa.EQFloat, self.data, rhs) |
| 711 | |
| 712 | def __radd__(self, lhs): |
| 713 | lhs = float(lhs) |
| 714 | one = Tensor(self.shape, self.device, self.dtype) |
| 715 | one.set_value(lhs) |
| 716 | one += self |
| 717 | return one |
| 718 | |
| 719 | def __rsub__(self, lhs): |
| 720 | lhs = float(lhs) |