Return the `MetaTensor` as a `torch.Tensor`. It is OS dependent as to whether this will be a deep copy or not.
(self)
| 347 | return torch.eye(4, device=torch.device("cpu"), dtype=dtype) |
| 348 | |
| 349 | def as_tensor(self) -> torch.Tensor: |
| 350 | """ |
| 351 | Return the `MetaTensor` as a `torch.Tensor`. |
| 352 | It is OS dependent as to whether this will be a deep copy or not. |
| 353 | """ |
| 354 | return self.as_subclass(torch.Tensor) |
| 355 | |
| 356 | def get_array(self, output_type=np.ndarray, dtype=None, device=None, *_args, **_kwargs): |
| 357 | """ |
no outgoing calls