mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/47775 When serializing graphs, we check every node for named types referenced, so that we can register them as dependencies. We were skipping this check for the graph inputs themselves. Since types used at input are almost always used somewhere in the graph, we never noticed this gap until a user reported an issue with NamedTuples. Test Plan: Imported from OSS Reviewed By: jamesr66a Differential Revision: D24896289 Pulled By: suo fbshipit-source-id: 4ce76816cb7997a7b65e7cea152ea52ed8f27276 |
||
|---|---|---|
| .. | ||
| export_module.cpp | ||
| export.cpp | ||
| export.h | ||
| import_export_constants.h | ||
| import_export_functions.h | ||
| import_export_helpers.cpp | ||
| import_export_helpers.h | ||
| import_legacy.cpp | ||
| import_legacy.h | ||
| import_source.cpp | ||
| import_source.h | ||
| import.cpp | ||
| import.h | ||
| onnx.cpp | ||
| onnx.h | ||
| pickle.cpp | ||
| pickle.h | ||
| pickler.cpp | ||
| pickler.h | ||
| python_print.cpp | ||
| python_print.h | ||
| source_range_serialization_impl.h | ||
| source_range_serialization.cpp | ||
| source_range_serialization.h | ||
| type_name_uniquer.cpp | ||
| type_name_uniquer.h | ||
| unpickler.cpp | ||
| unpickler.h | ||