convert : write tensors in parallel

This commit is contained in:
Francis Couture-Harpin
2025-04-08 16:31:45 -04:00
parent b32efad2bc
commit 06e1d3119a
3 changed files with 95 additions and 19 deletions

View File

@@ -220,4 +220,9 @@ class LazyNumpyTensor(LazyBase):
eager = LazyNumpyTensor.to_eager(self)
return eager.tofile(*args, **kwargs)
@property
def data(self):
eager = LazyNumpyTensor.to_eager(self)
return eager.data
# TODO: __array_function__