pytorch/torch/csrc/jit/python
Bertrand Thia 43b98fa521 Add debug repr to SymNode (#129925)
Fixes #129403

Create a separate printing function to debug SymNode, since we can't easily change `__repr__` that is used by GraphModule.recompile() to create a pythonic version of a graph

This is my first contribution, please let me know if there is anything that I should look into in further details

Thank you for you guidance! 🙏 I hope to contribute more in the future!

@aorenste
Pull Request resolved: https://github.com/pytorch/pytorch/pull/129925
Approved by: https://github.com/aorenste
2024-07-12 18:31:23 +00:00
..
init.cpp Add debug repr to SymNode (#129925) 2024-07-12 18:31:23 +00:00
init.h
module_python.h Fix static py::object dangling pointer with py::gil_safe_call_once_and_store (#130341) 2024-07-10 04:23:37 +00:00
pybind_utils.cpp [1/N] Change #include <c10/util/Optional.h> to #include <optional> (#128301) 2024-07-08 07:03:53 +00:00
pybind_utils.h [1/N] Change #include <c10/util/Optional.h> to #include <optional> (#128301) 2024-07-08 07:03:53 +00:00
pybind.h
python_arg_flatten.cpp
python_arg_flatten.h
python_custom_class.cpp [Clang Tidy] Fix misc-header-include-cycle errors in clang-tidy and ignore some files (#127233) 2024-06-10 23:49:58 +00:00
python_custom_class.h [Clang Tidy] Fix misc-header-include-cycle errors in clang-tidy and ignore some files (#127233) 2024-06-10 23:49:58 +00:00
python_dict.cpp
python_dict.h
python_interpreter.cpp
python_ir.cpp [1/N] Change #include <c10/util/Optional.h> to #include <optional> (#128301) 2024-07-08 07:03:53 +00:00
python_ir.h [codemod] c10:optional -> std::optional (#126135) 2024-05-14 19:35:51 +00:00
python_ivalue.h Fix static py::object dangling pointer with py::gil_safe_call_once_and_store (#130341) 2024-07-10 04:23:37 +00:00
python_list.cpp
python_list.h [1/N] Change #include <c10/util/Optional.h> to #include <optional> (#128301) 2024-07-08 07:03:53 +00:00
python_sugared_value.cpp [1/N] Change #include <c10/util/Optional.h> to #include <optional> (#128301) 2024-07-08 07:03:53 +00:00
python_sugared_value.h [1/N] Change #include <c10/util/Optional.h> to #include <optional> (#128301) 2024-07-08 07:03:53 +00:00
python_tracer.cpp [codemod] c10:optional -> std::optional (#126135) 2024-05-14 19:35:51 +00:00
python_tracer.h
python_tree_views.cpp [1/N] Change #include <c10/util/Optional.h> to #include <optional> (#128301) 2024-07-08 07:03:53 +00:00
python_tree_views.h
script_init.cpp [2/N] Change #include <c10/util/Optional.h> to #include <optional> (#130236) 2024-07-09 03:17:24 +00:00
script_init.h
update_graph_executor_opt.cpp
update_graph_executor_opt.h
utf8_decoding_ignore.cpp
utf8_decoding_ignore.h