Skip to content

Commit

Permalink
Sync README with module doc
Browse files Browse the repository at this point in the history
  • Loading branch information
DouglasOrr committed Sep 28, 2023
1 parent 58116a2 commit 9875b3e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ with tensor_tracker.track(module) as tracker:
module(inputs).backward()

print(list(tracker))
# => [Stash(name="0.linear", type=nn.Linear, grad=False, value=tensor(...)),
# ...]

display(tracker.to_frame())
```
Expand Down

0 comments on commit 9875b3e

Please sign in to comment.