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
2 changes: 1 addition & 1 deletion docs/python/how-to-guides/use-pytorch.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class IrisANN(nn.Module):
model = IrisANN()
```

Now comes the fun bit: training our network. We'll calculate loss using [cross entropy](https://pytorch.org/docs/stable/generated/torch.nn.CrossEntropyLoss.html), and we'll optimize the network with the [Adam algorithm](https://pytorch.org/docs/stable/generated/torch.optim.Adam.html#torch.optim.Adam).
Now comes the fun bit: training our network. We'll calculate loss using [cross entropy](https://pytorch.org/docs/stable/generated/torch.nn.CrossEntropyLoss.html), and we'll optimize the network with the [Adam algorithm](https://pytorch.org/docs/stable/generated/torch.optim.Adam.html#adam).

```python test-set=1 order=null skip-test
# Set our loss computation and optimization algorithms
Expand Down
Loading