Show / Hide Table of Contents

    Method toArray2D

    val toArray2D: Tensor<'T> -> 'T [,]

    Creates an array from a two-dimensional tensor.

    Declaration
    val toArray2D: a:Tensor<'T> -> 'T [,]
    Parameters
    Type Name Description
    Tensor<'T> a

    The tensor to operate on.

    Returns
    Type Description
    'T [,]

    An array containing the values from the tensor.

    Type Parameters
    Name Description
    'T

    The type of the data.

    Remarks

    The data is copied.

    See Also
    val toArray: Tensor<'T> -> 'T []
    val toArray2D: Tensor<'T> -> 'T [,]
    val toArray3D: Tensor<'T> -> 'T [,,]
    val ofArray2D: 'T [,] -> Tensor<'T>
    Back to top Generated by DocFX