xref: /aosp_15_r20/external/pytorch/torch/csrc/utils/nested.h (revision da0073e96a02ea20f0ac840b70461e3646d07c45)
1 #pragma once
2 
3 #include <torch/csrc/python_headers.h>
4 #include <torch/csrc/utils/python_arg_parser.h>
5 
6 #include <ATen/core/Tensor.h>
7 
8 namespace torch::utils {
9 
10 at::Tensor nested_tensor_ctor(
11     c10::DispatchKey dispatch_key,
12     at::ScalarType scalar_type,
13     PythonArgs& r);
14 
15 } // namespace torch::utils
16