Function ams::toTorchView

Function Documentation

torch::Tensor ams::toTorchView(AMSTensor &tensor)

Zero-copy mutable Torch view retaining AMS-managed storage when present.