(self, *args, **kwargs)
| 34 | self.tensors = tensors |
| 35 | |
| 36 | def to(self, *args, **kwargs): |
| 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' |
no test coverage detected