Hi PyJulia team,
I'm just getting started with porting a Julia package to a Python module. On the Python side, all the interaction will be with PyTorch tensors.
I noticed that one can pass numpy arrays and lists to Julia, which will then be cast to the built-in Array type. AFAIK, this is not possible with PyTorch tensors. A simple workaround would be to convert the tensors from torch to numpy (and the reverse). However, I am curious if there is a more elegant way. How can I control this mapping?
Best regards,
Fabio