(self, dim)
| 37 | return TensorList([u.to(*args, **kwargs) for u in self.tensors]) |
| 38 | |
| 39 | def size(self, dim): |
| 40 | assert dim == 0, 'only support get the 0th size' |
| 41 | return len(self.tensors) |
| 42 | |
| 43 | def pow(self, *args, **kwargs): |
| 44 | return TensorList([u.pow(*args, **kwargs) for u in self.tensors]) |
no outgoing calls
no test coverage detected