(self, rhs)
| 640 | ''' |
| 641 | |
| 642 | def __add__(self, rhs): |
| 643 | if isinstance(rhs, Tensor): |
| 644 | return from_raw_tensor(singa.__add__(self.data, rhs.data)) |
| 645 | else: |
| 646 | return _call_singa_func(singa.AddFloat, self.data, rhs) |
| 647 | |
| 648 | def __sub__(self, rhs): |
| 649 | if isinstance(rhs, Tensor): |
nothing calls this directly
no test coverage detected