We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c81ac8f commit 2204edeCopy full SHA for 2204ede
README.md
@@ -48,9 +48,9 @@ class VideoLoader(Loader):
48
# method into a tinygrad Tensor. Be careful that the underlying memory buffer for the passed in
49
# response could be shared memory, and it will be reused by other worker after this function
50
# returns, so you need to copy the data before return
51
- return tinygrad.Tensor(x).contiguous().realize(), tinygrad.Tensor(
52
- y
53
- ).contiguous().realize()
+ x = tinygrad.Tensor(x).contiguous().realize()
+ y = tinygrad.Tensor(y).contiguous().realize()
+ return x, y
54
55
```
56
0 commit comments