add link to native_functions.yaml

dagitses
2021-07-19 11:36:17 -04:00
parent 48d1dfe7a3
commit 3ca850e95d

@ -38,7 +38,7 @@ You can write this in a small standalone script that defines the Function and ru
## III) Write native composite function and OpInfo
Now that you know that the formula is correct, you can implement a brand new native function in native_functions.yaml as a CompositeImplicit function.
Now that you know that the formula is correct, you can implement a brand new native function in [native_functions.yaml](../blob/master/aten/src/ATen/native/native_functions.yaml) as a CompositeImplicit function.
You can then add an OpInfo entry (in [common_methods_invocations.py](../blob/master/torch/testing/_internal/common_methods_invocations.py)) to be able to test the new operator.
## IV) Write custom formula in derivatives.yaml