#include <iostream>
#include <torch/torch.h>

int main() {
  torch::Tensor tensor = torch::full({3, 4}, /*value=*/123);
  torch::Tensor gpu_tensor = tensor.to(torch::kCUDA);
  std::cout << gpu_tensor << std::endl;
}
