(self, g, node_id, shape, dtype)
| 291 | |
| 292 | class Tensor: |
| 293 | def __init__(self, g, node_id, shape, dtype): |
| 294 | self.g = g |
| 295 | self.id = int(node_id) |
| 296 | self.shape = tuple(shape) |
| 297 | self.dtype = int(dtype) |
| 298 | |
| 299 | def __add__(self, other): |
| 300 | return self.g.add(self, other) |
nothing calls this directly
no outgoing calls
no test coverage detected