Show / Hide Table of Contents

    Method broadcastDim

    val broadcastDim: int -> int64 -> ITensor -> ITensor

    Broadcast a dimension to a specified size.

    Declaration
    val broadcastDim: dim:int -> size:int64 -> a:ITensor -> ITensor
    Parameters
    Type Name Description
    int dim

    The size-one dimension to broadcast.

    int64 size

    The size to broadcast to.

    ITensor a

    The tensor to operate on.

    Returns
    Type Description
    ITensor

    The resulting tensor.

    See Also
    static member broadcastDim: int -> int64 -> Tensor<'T> -> Tensor<'T>
    Back to top Generated by DocFX