Backends/SiaNet.Backend.MxNet/NDArrayOps.cs
/// <summary>
/// Flattens the input array into a 2-D array by collapsing the higher dimensions... note:: `Flatten` is deprecated. Use `flatten` instead.For an input array with shape ``(d1, d2, ..., dk)``, `flatten` operation reshapesthe input array into an output array of shape ``(d1, d2*...*dk)``.Example::    x = [[        [1,2,3],        [4,5,6],        [7,8,9]    ],    [    [1,2,3],        [4,5,6],        [7,8,9]    ]],    flatten(x) = [[ 1.,  2.,  3.,  4.,  5.,  6.,  7.,  8.,  9.],       [ 1.,  2.,  3.,  4.,  5.,  6.,  7.,  8.,  9.]]Defined in G:\deeplearn\mxnet\src\operator\tensor\matrix_op.cc:L149
/// </summary>
/// <param name="data">Input array.</param>
/// <returns>returns new symbol</returns>
Flattens the input array into a 2-D array by collapsing the higher dimensions... note:: `Flatten` is deprecated.
Flattens the input array into a 2 - D array by collapsing the higher dimensions ... note :: ` Flatten ` is deprecated .
public static NDArray Flatten(NDArray data)
        {
            return new Operator("Flatten")
            .SetInput("data", data)
            .Invoke();
        }
public static NDArray Flatten ( NDArray data ) { return new Operator ( " " ) . SetInput ( " " , data ) . Invoke ( ) ; }
Flattens the input array into a 2-D array by collapsing the higher dimensions... note:: `Flatten` is deprecated.
Flattens the input array into a 2 - D array by collapsing the higher dimensions ... note :: ` Flatten ` is deprecated .
returns new symbol
returns new symbol
data
NDArray
None