We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 488afd6 commit af77eceCopy full SHA for af77ece
README.md
@@ -1,3 +1,7 @@
1
+
2
+
3
+---
4
5
# torchplot - Plotting pytorch tensors made easy!
6
7
Ask yourself the following:
@@ -42,8 +46,8 @@ pip install torchplot
42
46
43
47
## Example
44
48
45
-```
-# lets make a scatter plot of two pytorch variables
49
+``` python
50
+# lets make a scatter plot of two pytorch variables that are stored on gpu
51
import torch
52
import torchplot as plt
53
x = torch.randn(100, requires_grad=True, device='cuda')
logo.png
245 KB
0 commit comments