mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 00:21:07 +01:00
Summary: This adds a workaround so that you can call `.numpy()` on models loaded via torch.package. Torch implicitly imports numpy when you make that call and it can't be tracked by normal dependencies since it's from C++. https://github.com/pytorch/MultiPy/issues/46 Test Plan: CI Reviewed By: PaliC Differential Revision: D36915129 Pull Request resolved: https://github.com/pytorch/pytorch/pull/78979 Approved by: https://github.com/PaliC |
||
|---|---|---|
| .. | ||
| analyze | ||
| __init__.py | ||
| _digraph.py | ||
| _directory_reader.py | ||
| _importlib.py | ||
| _mangling.py | ||
| _mock.py | ||
| _package_pickler.py | ||
| _package_unpickler.py | ||
| _stdlib.py | ||
| file_structure_representation.py | ||
| find_file_dependencies.py | ||
| glob_group.py | ||
| importer.py | ||
| mangling.md | ||
| package_exporter.py | ||
| package_importer.py | ||