Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeInnes committed Feb 26, 2020
1 parent 91ab1d5 commit d7e8afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/internals.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function foo(x)
end
```

We can easily differentiate `foo` if we can differentiate `bar` and `baz`. If we can get pullbacks for those functions via `J`, the pullback for `foo` looks as follows. Where the forward pass calculates `x -> a -> b`, the backwards takes `b̄ -> ā -> x̄` via the pullbacks.
We can easily differentiate `foo` if we can differentiate the functions it calls. If we can get pullbacks via `J`, the pullback for `foo` looks as follows. Where the forward pass calculates `x -> a -> b`, the backwards takes `b̄ -> ā -> x̄` via the pullbacks.

```julia
function J(::typeof(foo), x)
Expand Down

0 comments on commit d7e8afc

Please sign in to comment.