You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<details><summary>Example for the logistic sigmoid</summary>
225
+
<details open><summary>Example for the logistic sigmoid</summary>
226
226
```
227
227
```julia
228
228
functionaugmented_primal(::typeof(σ), x)
@@ -252,7 +252,7 @@ x̄ = pb(ȳ)
252
252
```
253
253
254
254
```@raw html
255
-
<details><summary>Example for `sin`</summary>
255
+
<details open><summary>Example for `sin`</summary>
256
256
```
257
257
```julia
258
258
functionaugmented_primal(::typeof(sin), x)
@@ -267,7 +267,7 @@ end
267
267
```
268
268
269
269
```@raw html
270
-
<details><summary>Example for the logistic sigmoid</summary>
270
+
<details open><summary>Example for the logistic sigmoid</summary>
271
271
```
272
272
```julia
273
273
functionaugmented_primal(::typeof(σ), x)
@@ -290,7 +290,7 @@ We have one final thing to do, which is to think about how we make the code easy
290
290
Let's go back and think about the changes we would have make to go from our original way of writing that only used the inputs/outputs, to one that used the intermediate state.
291
291
292
292
```@raw html
293
-
<details><summary>Example for `sin`</summary>
293
+
<details open><summary>Example for `sin`</summary>
294
294
```
295
295
To rewrite that original formulation in the new pullback form we have:
296
296
```julia
@@ -313,7 +313,7 @@ end
313
313
```
314
314
315
315
```@raw html
316
-
<details><summary>Example for the logistic sigmoid</summary>
316
+
<details open><summary>Example for the logistic sigmoid</summary>
317
317
```
318
318
```julia
319
319
functionaugmented_primal(::typeof(σ), x)
@@ -354,7 +354,7 @@ There are [incredible ways to abuse this](https://invenia.github.io/blog/2019/10
354
354
Replacing `PullbackMemory` with a closure that works the same way lets us avoid having to manually control what is remembered _and_ lets us avoid separately writing the call overload.
355
355
356
356
```@raw html
357
-
<details><summary>Example for `sin`</summary>
357
+
<details open><summary>Example for `sin`</summary>
358
358
```
359
359
```julia
360
360
functionaugmented_primal(::typeof(sin), x)
@@ -368,7 +368,7 @@ end
368
368
```
369
369
370
370
```@raw html
371
-
<details><summary>Example for the logistic sigmoid</summary>
371
+
<details open><summary>Example for the logistic sigmoid</summary>
0 commit comments