Show / Hide Table of Contents

    Method isBroadcasted

    static member isBroadcasted: Tensor<'T> -> bool

    Checks if the specified tensor is broadcasted in at least one dimension.

    Declaration
    static member isBroadcasted: a:Tensor<'T> -> bool
    Parameters
    Type Name Description
    Tensor<'T> a

    The tensor to operate on.

    Returns
    Type Description
    bool

    true if at least one dimension is broadcasted, otherwise false.

    Remarks

    If any stride is zero, it is assumed that the tensor is broadcasted. If this is the case, changing an element of the tensor may change other elements as well.

    See Also
    static member broadcastToSame: Tensor<'TA> * Tensor<'TB> -> Tensor<'TA> * Tensor<'TB>
    static member broadcastTo: int64 list -> Tensor<'T> -> Tensor<'T>
    Back to top Generated by DocFX