Skip to content

Commit 0d7779e

Browse files
authored
Please review - eliminate bulleted list
1 parent 59e5db4 commit 0d7779e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

docs/DifferentiableProgrammingImplementation.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,7 @@ The VJP function returns a tuple with two elements:
107107

108108
JVP and VJP functions can be registered using the `@derivative` attribute. JVP functions should return a tuple with labels `(value: ..., differential: ...)`. VJP functions should return a tuple with labels `(value: ..., pullback: ...)`.
109109

110-
For usage examples of the `@derivative` attribute, please see:
111-
- [The custom differentiation tutorial](https://github.com/tensorflow/swift/blob/master/docs/site/tutorials/custom_differentiation.ipynb), which shows how to use the `@derivative` attribute to register a derivative for `e^x`.
112-
- [This mailing list response](https://groups.google.com/a/tensorflow.org/d/msg/swift/k62Uwnc-EYc/Cncb7mxtCAAJ), which shows how to use the `@derivative` attribute to register a derivative for `ax^2 + bx + c`.
113-
> NOTE: The custom differentiation tutorial does not reflect the current state of differentiation in Swift. You can use it as a general guide to differentiation, but its code samples will not compile.
110+
For usage examples of the `@derivative` attribute, please see [this mailing list response](https://groups.google.com/a/tensorflow.org/d/msg/swift/k62Uwnc-EYc/Cncb7mxtCAAJ), which shows how to use the `@derivative` attribute to register a derivative for `ax^2 + bx + c`.
114111

115112
Note that derivative functions are defined as "JVP/VJP functions taking original arguments", rather than just the "returned differential/pullback" functions. This is because differential/pullback functions may need to refer to intermediate values computed by the original function - this is possible when they are returned closures that capture values.
116113

0 commit comments

Comments
 (0)