Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions lectures/back_prop.md
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ fig.add_trace(go.Scatter(x=grid, y=f_val, name=r'$-3x+2$'))
fig.add_trace(go.Scatter(x=grid, y=predictions, name='Approximation'))

# Export to PNG file
#Image(fig.to_image(format="png"))
Image(fig.to_image(format="png"))
# fig.show() will provide interactive plot when running
# notebook locally
```
Expand Down Expand Up @@ -583,7 +583,7 @@ fig.add_trace(go.Scatter(x=grid, y=predictions_2, name='Two-layer neural network
fig.add_trace(go.Scatter(x=grid, y=predictions_3, name='Three-layer neural network'))

# Export to PNG file
#Image(fig.to_image(format="png"))
Image(fig.to_image(format="png"))
# fig.show() will provide interactive plot when running
# notebook locally
```
Expand All @@ -594,3 +594,9 @@ fig.add_trace(go.Scatter(x=grid, y=predictions_3, name='Three-layer neural netwo
from jax.lib import xla_bridge
print(xla_bridge.get_backend().platform)
```

```{note} Cloud Enivronment
This lecture site is built in a server environment that doesn't have access to a `gpu`
If you run this lecture locally this lets you know where your code is being executed, either
via the `cpu` or the `gpu`
```