Show / Hide Table of Contents

    Method ofArray2D

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

    Creates a two-dimensional tensor copying the specified data.

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

    The data array to use.

    Returns
    Type Description
    Tensor<'T>

    A tensor using filled with the values from data.

    Type Parameters
    Name Description
    'T

    The type of the data.

    Remarks

    The data is copied.

    See Also
    val ofArray: 'T [] -> Tensor<'T>
    val ofArray3D: 'T [,,] -> Tensor<'T>
    val ofArray4D: 'T [,,,] -> Tensor<'T>
    Back to top Generated by DocFX