xref: /aosp_15_r20/external/pytorch/torch/csrc/utils/invalid_arguments.h (revision da0073e96a02ea20f0ac840b70461e3646d07c45)
1 #pragma once
2 
3 #include <torch/csrc/python_headers.h>
4 #include <string>
5 #include <vector>
6 
7 namespace torch {
8 
9 std::string format_invalid_args(
10     PyObject* given_args,
11     PyObject* given_kwargs,
12     const std::string& function_name,
13     const std::vector<std::string>& options);
14 
15 } // namespace torch
16