(self, *args, **kwargs)
| 32 | |
| 33 | |
| 34 | def to(self, *args, **kwargs): |
| 35 | device, dtype, non_blocking, convert_to_format = torch._C._nn._parse_to(*args, **kwargs) |
| 36 | if device is not None: |
| 37 | self.device = device |
| 38 | if dtype is not None: |
| 39 | self.torch_dtype = dtype |
| 40 | super().to(*args, **kwargs) |
| 41 | return self |
| 42 | |
| 43 | |
| 44 | def check_resize_height_width(self, height, width, num_frames=None): |
no outgoing calls
no test coverage detected