Hey, this is not so much an issue as a place to solicit public feedback.
I think we should implement type conversion from the amrex FArrayBox (or more precisely the Array4) data type to numpy.ndarray and torch.tensor. As well a suitable python CUDA variants.
I also think that this type conversion should have s copying and a referencing variant.
This shouldn't be hard to implement (NO! This won't support python 2... I have a life you know), and I volunteer my time. But first I want to run this past all y'all to see if anyone is already working on it and what you think.
Tagging @ax3l @maxpkatz @drummerdoc