pytorch/test/cpp
Angela Yi 51f6b946ae [torchbind] Add generic __deepcopy__ method (#137613)
Summary: Added a generic `__deepcopy__` method which will use the torchbind object's existing `__getattr__` and `__setattr__` to copy the torchbind object. This will later be used in [D64124825](https://www.internalfb.com/diff/D64124825)

Differential Revision: D64124826

Pull Request resolved: https://github.com/pytorch/pytorch/pull/137613
Approved by: https://github.com/ydwu4, https://github.com/zou3519
2024-10-24 22:14:55 +00:00
..
aoti_abi_check
aoti_inference
api C10_UNUSED to [[maybe_unused]] (#6357) (#138364) 2024-10-19 13:17:43 +00:00
c10d C10_UNUSED to [[maybe_unused]] (#6357) (#138364) 2024-10-19 13:17:43 +00:00
common
dist_autograd
jit [torchbind] Add generic __deepcopy__ method (#137613) 2024-10-24 22:14:55 +00:00
lazy [ROCm] LoadHIP CMake cleanup (#137112) 2024-10-13 00:06:41 +00:00
lite_interpreter_runtime
monitor
profiler [Record Function] Add Kwargs only USER_SCOPE Macro (#138020) 2024-10-17 18:48:49 +00:00
rpc
tensorexpr C10_UNUSED to [[maybe_unused]] (#6357) (#138364) 2024-10-19 13:17:43 +00:00
__init__.py