2 #include <torch/csrc/WindowsTorchApiMacro.h> 3 #include <torch/csrc/jit/ir.h> 15 TORCH_API
void PythonPrint(
18 std::vector<at::Tensor>& tensor_table,
19 std::vector<ClassTypePtr>& class_table,
20 bool enforce_importable =
false);
21 TORCH_API
void PythonPrint(
23 const script::Method& graph,
24 std::vector<at::Tensor>& tensor_table,
25 std::vector<ClassTypePtr>& class_table,
26 bool enforce_importable =
false);
27 TORCH_API
void PythonPrint(
29 const script::Module& module,
30 std::vector<at::Tensor>& tensor_table,
31 std::vector<ClassTypePtr>& class_table,
32 bool enforce_importable =
false);
33 TORCH_API
void PythonPrint(
35 const ClassTypePtr& classType,
36 std::vector<at::Tensor>& tensor_table,
37 std::vector<ClassTypePtr>& class_table,
38 bool enforce_importable =
false);
40 TORCH_API
bool printerHasSpecialCaseFor(
c10::Symbol sym);