(self, tensors, mask: Optional[Tensor])
| 341 | |
| 342 | class NestedTensor(object): |
| 343 | def __init__(self, tensors, mask: Optional[Tensor]): |
| 344 | self.tensors = tensors |
| 345 | self.mask = mask |
| 346 | |
| 347 | def to(self, device, non_blocking=False): |
| 348 | cast_tensor = self.tensors.to(device, non_blocking=non_blocking) |
nothing calls this directly
no outgoing calls
no test coverage detected