Show / Hide Table of Contents

    Method toArray

    val toArray: Tensor<'T> -> 'T []

    Creates an array from a one-dimensional tensor.

    Declaration
    val toArray: ary:Tensor<'T> -> 'T []
    Parameters
    Type Name Description
    Tensor<'T> ary
    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 toArray2D: Tensor<'T> -> 'T [,]
    val toArray3D: Tensor<'T> -> 'T [,,]
    val toArray4D: Tensor<'T> -> 'T [,,,]
    val ofArray: 'T [] -> Tensor<'T>
    Back to top Generated by DocFX