3 #include <torch/csrc/jit/tracer.h> 4 #include <torch/csrc/python_headers.h> 5 #include <torch/csrc/utils/pybind.h> 13 void initPythonTracerBindings(PyObject* module);
15 std::string getPythonInterpreterStackTrace();
16 Node* preRecordPythonTrace(
18 const std::string& arg_types,
20 pyobj_list scalar_args);
22 std::shared_ptr<Graph> createGraphByTracing(
23 const py::function& func,
25 const py::function& var_name_lookup_fn,
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...