(self, rhs)
| 677 | return _call_singa_func(singa.AddFloat, self.data, float(rhs)) |
| 678 | |
| 679 | def __sub__(self, rhs): |
| 680 | if isinstance(rhs, Tensor): |
| 681 | return from_raw_tensor(singa.__sub__(self.data, rhs.data)) |
| 682 | else: |
| 683 | return _call_singa_func(singa.SubFloat, self.data, float(rhs)) |
| 684 | |
| 685 | def __mul__(self, rhs): |
| 686 | if isinstance(rhs, Tensor): |