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/52258 Removes deprecated preprocess method from the backend interface. Preprocessing logic should be now registered along with the backend interface (i.e. PyTorchBackendInterface) via the BackendPreprocessFunction. Also refactored internal dependencies. ghstack-source-id: 121704837 Test Plan: Validates all related tests pass: buck test mode/dev //caffe2/test/cpp/jit:jit -- --exact 'caffe2/test/cpp/jit:jit - BackendTest.ToBackend' python test/test_jit.py TestBackends ===== Glow buck test mode/dev //glow/fb/torch_glow/tests:TorchGlowBackendTests buck test mode/dev //glow/fb/torch_glow/tests:torch_glow_backend_tests Reviewed By: jackm321 Differential Revision: D26443479 fbshipit-source-id: afdc51ae619ced293d10c7a6a12f3530e4c4e53c |
||
|---|---|---|
| .. | ||
| backend.py | ||
| CMakeLists.txt | ||
| custom_backend.cpp | ||
| custom_backend.h | ||
| test_custom_backend.cpp | ||
| test_custom_backend.py | ||