Tensor.empty()
Creates a tensor with the specified size, without initializing entries.
Usage
from tinygrad.tensor import Tensor
# init an empty tensor with shape (2, 3)
x = Tensor.empty(2, 3)
# print out the tensor values as a numpy array
print(x.numpy())
Return Value
[[0. 0. 0.]
[0. 0. 0.]]