Function ams::toTorchView¶ Defined in File AMSTorchInterop.cpp Function Documentation¶ torch::Tensor ams::toTorchView(AMSTensor &tensor)¶ Zero-copy mutable Torch view retaining AMS-managed storage when present.