(self, rhs)
| 683 | return _call_singa_func(singa.SubFloat, self.data, float(rhs)) |
| 684 | |
| 685 | def __mul__(self, rhs): |
| 686 | if isinstance(rhs, Tensor): |
| 687 | return from_raw_tensor(singa.__mul__(self.data, rhs.data)) |
| 688 | else: |
| 689 | return _call_singa_func(singa.MultFloat, self.data, float(rhs)) |
| 690 | |
| 691 | def __div__(self, rhs): |
| 692 | if isinstance(rhs, Tensor): |