@@ -72,7 +72,7 @@ Backticks were added manually.
72
72
* [ Upcasting to non-` @differentiable ` functions] ( #upcasting-to-non-differentiable-functions )
73
73
* [ Implied generic constraints] ( #implied-generic-constraints )
74
74
* [ Non-differentiable parameters] ( #non-differentiable-parameters )
75
- * [ Differentiable operators] ( #differentiable -operators )
75
+ * [ Differential operators] ( #differential -operators )
76
76
* [ Differential-producing differential operators] ( #differential-producing-differential-operators )
77
77
* [ Pullback-producing differential operators] ( #pullback-producing-differential-operators )
78
78
* [ Example usage] ( #example-usage )
@@ -2001,7 +2001,7 @@ _ = f0 as @differentiable (@noDerivative Float, Float) -> Float
2001
2001
_ = f0 as @differentiable (@noDerivative Float , @noDerivative Float ) -> Float
2002
2002
```
2003
2003
2004
- ### Differentiable operators
2004
+ ### Differential operators
2005
2005
2006
2006
The core differentiation APIs are the differential operators. Differential
2007
2007
operators are higher-order functions that take ` @differentiable ` functions as
@@ -2085,7 +2085,7 @@ func valueWithGradient<T, R: FloatingPoint>(
2085
2085
2086
2086
func gradient <T , R : FloatingPoint >(
2087
2087
at x : T, in body : @differentiable (T) -> R
2088
- ) -> (value: R, gradient: T.TangentVector) where R.TangentVector: FloatingPoint {
2088
+ ) -> T.TangentVector where R.TangentVector: FloatingPoint {
2089
2089
return valueWithGradient (at : x, in : body).gradient
2090
2090
}
2091
2091
0 commit comments