mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Update docs/DifferentiableProgrammingImplementation.md
Co-authored-by: Saleem Abdulrasool <compnerd@compnerd.org>
This commit is contained in:
@@ -331,7 +331,6 @@ func f(_ X: Float) -> Float {
|
||||
|
||||
// Active values are in all caps.
|
||||
// These values are varied and useful, and thus need a derivative.
|
||||
// Non-active values are gray. They do not need a derivative.
|
||||
@differentiable
|
||||
func f(_ X: Float) -> Float {
|
||||
let SINX = sin(X)
|
||||
|
||||
Reference in New Issue
Block a user