(self, tensors, mask: Optional[Tensor])
| 24 | |
| 25 | class NestedTensor(object): |
| 26 | def __init__(self, tensors, mask: Optional[Tensor]): |
| 27 | self.tensors = tensors |
| 28 | self.mask = mask |
| 29 | |
| 30 | def to(self, device): |
| 31 | # type: (Device) -> NestedTensor # noqa |
nothing calls this directly
no outgoing calls
no test coverage detected