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
Conversion from float std::vector to Aten Tensor and vice versa?
The text was updated successfully, but these errors were encountered:
@kirill-pinigin Providing the .data() output of a vector to a tensorFromBlob() function should work. Not really relevant but close example: https://github.com/warmspringwinds/pytorch-cpp/blob/master/examples/read_allocated_gpu_memory.cpp#L64
.data()
tensorFromBlob()
Sorry, something went wrong.
No branches or pull requests
Conversion from float std::vector to Aten Tensor and vice versa?
The text was updated successfully, but these errors were encountered: