public static ones(shape as IList<UInt>) as NDArray<T>:
Creates a new NDArray with ones.
A new NDArray filled with 1. a = NDArray<Int>.ones([2, 2])
a = NDArray<Int>.ones([2, 2])