Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <torch/torch.h>
- #include <iostream>
- int main() {
- torch::Tensor tensor = torch::rand({2, 3});
- std::cout << tensor << std::endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement