Show / Hide Table of Contents

    Method linspace

    val linspace: 'T -> 'T -> int64 -> Tensor<'T>

    Creates a new vector of given size filled with equaly spaced values.

    Declaration
    val linspace: start:'T -> stop:'T -> nElems:int64 -> Tensor<'T>
    Parameters
    Type Name Description
    'T start

    The starting value.

    'T stop

    The end value, which is not included.

    int64 nElems

    The size of the vector.

    Returns
    Type Description
    Tensor<'T>

    The new tensor.

    Type Parameters
    Name Description
    'T

    The data type of the new tensor.

    See Also
    Tensor`1.linspace``2
    Back to top Generated by DocFX