Show / Hide Table of Contents

    Operator ( ^^^^ )

    static member ( ^^^^ ): Tensor<bool> * Tensor<bool> -> Tensor<bool>

    Element-wise loigcal xor.

    Declaration
    static member ( ^^^^ ): a:Tensor<bool> * b:Tensor<bool> -> Tensor<bool>
    Parameters
    Type Name Description
    Tensor<bool> a

    The tensor on the left side of this binary operation.

    Tensor<bool> b

    The tensor on the right side of this binary operation.

    Returns
    Type Description
    Tensor<bool>

    A new tensor containing the result of this operation.

    Remarks

    Computes the logical xor of each element of tensor a with the corresponding element of tensor b and returns the results as a new tensor.

    The tensors a and b must have the same storage. Broadcasting rules apply if a and b have different shapes.

    Examples
     let a = HostTensor.ofList [true; true; false; false]
     let b = HostTensor.ofList [true; false; true; false]
     let c = a ^^^^ b // c = [false; true; true; false]
    See Also
    member FillXor: Tensor<bool> -> Tensor<bool> -> unit

    static member ( ^^^^ ): Tensor<bool> * bool -> Tensor<bool>

    Element-wise loigcal xor with scalar.

    Declaration
    static member ( ^^^^ ): a:Tensor<bool> * b:bool -> Tensor<bool>
    Parameters
    Type Name Description
    Tensor<bool> a

    The tensor on the left side of this binary operation.

    bool b

    The scalar on the right side of this binary operation.

    Returns
    Type Description
    Tensor<bool>

    A new tensor containing the result of this operation.

    See Also
    static member ( ^^^^ ): Tensor<bool> * Tensor<bool> -> Tensor<bool>

    static member ( ^^^^ ): bool * Tensor<bool> -> Tensor<bool>

    Element-wise loigcal xor with scalar.

    Declaration
    static member ( ^^^^ ): a:bool * b:Tensor<bool> -> Tensor<bool>
    Parameters
    Type Name Description
    bool a

    The scalar on the left side of this binary operation.

    Tensor<bool> b

    The tensor on the right side of this binary operation.

    Returns
    Type Description
    Tensor<bool>

    A new tensor containing the result of this operation.

    See Also
    static member ( ^^^^ ): Tensor<bool> * Tensor<bool> -> Tensor<bool>
    Back to top Generated by DocFX