mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Update docs/DifferentiableProgrammingImplementation.md
Co-authored-by: Saleem Abdulrasool <compnerd@compnerd.org>
This commit is contained in:
@@ -425,7 +425,7 @@ In the sections below, let us dig into derivative code generation for the follow
|
||||
|
||||
```swift
|
||||
@differentiable
|
||||
func foo(_ x: Float) -> Float {
|
||||
func f(_ x: Float) -> Float {
|
||||
return sin(x) * cos(x)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user