xref: /aosp_15_r20/external/pytorch/torch/csrc/utils/tensor_list.h (revision da0073e96a02ea20f0ac840b70461e3646d07c45)
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