1 #pragma once 2 3 #include <torch/csrc/python_headers.h> 4 5 namespace at { 6 class Tensor; 7 } 8 9 namespace torch::utils { 10 11 PyObject* tensor_to_list(const at::Tensor& tensor); 12 13 } 14