TensorOnesTensor.ones() Creates a tensor of all ones with the given shape. Usage from tinygrad.tensor import Tensor x = Tensor.ones(3, 3) print(x.numpy()) Return value [[1. 1. 1.] [1. 1. 1.] [1. 1. 1.]]NumpyOnes Like