We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
my_tensor = torch. Tensor([[1,2,3],[4,5,6]], dtype = torch.float32)
using System.Collections.Generic; public static class testModule { public object my_tensor = torch.tensor(new List<object> { new List<object> { 1, 2, 3 }, new List<object> { 4, 5, 6 } }, dtype: torch.float32); }
var my_tensor = torch. Tensor(new int[,]{{1,2,3},{3,5,6}}, ScalarType.Float32)
In PyToCs terms
Once torch is detected in method, TorchSharp specific argument translation is applied
I need idea which part of the PyToCs codes for implementing the TorchSharp specific statement translation
The text was updated successfully, but these errors were encountered:
Progress: add TorchSharp replace
Sorry, something went wrong.
No branches or pull requests
PyTorch
PyToCs
Desired c# TorchSharp's python way
In PyToCs terms
suggestion
Once torch is detected in method, TorchSharp specific argument translation is applied
The text was updated successfully, but these errors were encountered: