Skip to content

Commit 57cc0ca

Browse files
committed
Update lab.md
1 parent b114b67 commit 57cc0ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/lecture_09/lab.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ The types of tangents and cotangents depend on the types of the primals. However
6060

6161

6262
!!! warning "Exercise"
63-
```@example labO9
63+
```@example lab09
6464
using ChainRulesCore, ChainRules, ChainRulesTestUtils
6565
```
6666
Write custom `rrule` for following function $f(x,y) = x^2 + 3y$.
6767

68-
```@example labO9
68+
```@example lab09
6969
f1(x::T, y::T) where T<: Real = x^2 + 3*y
7070
```
7171
You can test your solution using
@@ -157,7 +157,7 @@ The functions `pool_naive` and `pool_sum` perform the same operation with the sa
157157
function pool_sum_pullback(ȳ)
158158
...
159159
end
160-
return y, pool_custom_pullback
160+
return y, pool_sum_pullback
161161
end
162162

163163
```

0 commit comments

Comments
 (0)