Skip to content

Commit

Permalink
Add import to README
Browse files Browse the repository at this point in the history
  • Loading branch information
DouglasOrr authored Sep 28, 2023
1 parent 6255923 commit 573c811
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 @@ -7,6 +7,8 @@ pip install git+https://github.com/graphcore-research/pytorch-tensor-tracker
```

```python
import tensor_tracker

with tensor_tracker.track(module) as tracker:
module(inputs).backward()

Expand Down

0 comments on commit 573c811

Please sign in to comment.