Show / Hide Table of Contents

    Method ofList2D

    val ofList2D: 'T list list -> Tensor<'T>

    Creates a two-dimensional tensor from the specified list of lists.

    Declaration
    val ofList2D: data:'T list list -> Tensor<'T>
    Parameters
    Type Name Description
    'T list list data

    The data to fill the tensor with.

    Returns
    Type Description
    Tensor<'T>

    A tensor containing values from the specifed lists.

    Type Parameters
    Name Description
    'T

    The type of the data.

    See Also
    val ofSeq: seq<'T> -> Tensor<'T>
    val ofList: 'T list -> Tensor<'T>
    val toList2D: Tensor<'T> -> 'T list list
    Back to top Generated by DocFX