You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To implement a new functionality in the `aten` library, you must
4
+
1. Add the class or function header in `aten/src/Tensor.h`
5
+
2. Add the implementation in the correct file (or create a new one) in `aten./*Tensor/*.cpp`. Make sure to update `aten/bindings/CMakeLists.txt` if needed.
6
+
3. Add its pybindings (if a public function that will be used in `ember`) in `aten/bindings/*bindings.cpp`. Make sure to update `aten/bindings/CMakeLists.txt` if needed.
7
+
4. Add relevant C++ tests in `aten/test/`.
8
+
5. Not necessary, but it's good to test it out on a personal script for a sanity check.
9
+
6. Add to the stub files in `ember/aten/*.pyi`.
10
+
7. Add Python tests in `test/`.
11
+
8. If everything passes, you can submit a pull request.
0 commit comments