Skip to content

Commit 2204ede

Browse files
committed
Update readme
1 parent c81ac8f commit 2204ede

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ class VideoLoader(Loader):
4848
# method into a tinygrad Tensor. Be careful that the underlying memory buffer for the passed in
4949
# response could be shared memory, and it will be reused by other worker after this function
5050
# returns, so you need to copy the data before return
51-
return tinygrad.Tensor(x).contiguous().realize(), tinygrad.Tensor(
52-
y
53-
).contiguous().realize()
51+
x = tinygrad.Tensor(x).contiguous().realize()
52+
y = tinygrad.Tensor(y).contiguous().realize()
53+
return x, y
5454

5555
```
5656

0 commit comments

Comments
 (0)