(self, tensors, mask: Optional[Tensor])
| 41 | |
| 42 | class NestedTensor(object): |
| 43 | def __init__(self, tensors, mask: Optional[Tensor]): |
| 44 | self.tensors = tensors |
| 45 | self.mask = mask |
| 46 | |
| 47 | def to(self, device): |
| 48 | # type: (Device) -> NestedTensor # noqa |
nothing calls this directly
no outgoing calls
no test coverage detected