mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
**Summary**: jit.trace usually adds shape information to all the jit::Values in its graph. This is mostly a side effect of how jit tracing is performed, but many users use this behavior for debugging and for better understanding the graph. Previously, CallFunction nodes (inserted by calling jit.script-ed functions) did _not_ have this information attached. This PR attaches this information for the tensor output values. **Details**: * First the jit tracer sets a global TracerState object * Then the jit tracer invokes the python callable that is to be traced * When the python function gets to a jit.script-ed function, [invokeScriptFunctionFromPython]( |
||
|---|---|---|
| .. | ||
| builtin_functions.cpp | ||
| builtin_functions.h | ||
| canonicalize_modified_loop.cpp | ||
| canonicalize_modified_loop.h | ||
| concrete_module_type.cpp | ||
| concrete_module_type.h | ||
| convert_to_ssa.cpp | ||
| convert_to_ssa.h | ||
| edit_distance.cpp | ||
| edit_distance.h | ||
| error_report.cpp | ||
| error_report.h | ||
| exit_transforms.cpp | ||
| exit_transforms.h | ||
| function_schema_parser.cpp | ||
| function_schema_parser.h | ||
| inline_loop_condition.cpp | ||
| inline_loop_condition.h | ||
| ir_emitter.cpp | ||
| ir_emitter.h | ||
| lexer.cpp | ||
| lexer.h | ||
| mini_environment.h | ||
| name_mangler.cpp | ||
| name_mangler.h | ||
| parse_string_literal.h | ||
| parser_constants.h | ||
| parser.cpp | ||
| parser.h | ||
| resolver.h | ||
| schema_matching.cpp | ||
| schema_matching.h | ||
| schema_type_parser.cpp | ||
| schema_type_parser.h | ||
| script_type_parser.cpp | ||
| script_type_parser.h | ||
| source_range.cpp | ||
| source_range.h | ||
| source_ref.h | ||
| strtod.cpp | ||
| strtod.h | ||
| sugared_value.cpp | ||
| sugared_value.h | ||
| tracer.cpp | ||
| tracer.h | ||
| tree_views.cpp | ||
| tree_views.h | ||
| tree.h | ||
| versioned_symbols.cpp | ||
| versioned_symbols.h | ||