Ejemplo n.º 1
0
        public static Tensor <T> Fill(Shape shape, T value)
        {
            T[] array = new T[shape.Volume];

            SimdOps <T> .Fill(array, value);

            return(FromRef(shape, array));
        }