Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In Python there's
tensor.cpu().numpy()
function that extracts the data from torch tensor back to something that Python can work with.TorchSharp tensors don't have the
.numpy()
method, but also don't provide a proper alternative ... or maybe there is, but it's not documented (at least I didn't find it).Since dotnet does provide multidimensional array functionality, it would be nice to provide some sort of
tensor.toArray<float[,,,]>()
functionality.And in general it would be nice to have a cheat-sheet of what was omitted relative to PyTorch and what the alternatives are.
Beta Was this translation helpful? Give feedback.
All reactions