Show / Hide Table of Contents

    Operator ( <<>> )

    static member ( <<>> ): Tensor<'T> * Tensor<'T> -> Tensor<bool>

    Element-wise not-equality test.

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

    The tensor on the left side of this binary operation.

    Tensor<'T> 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

    Test each element of tensor a for being not equal to the corresponding element of tensor b and returns the results as a new tensor.

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

    Examples
     let a = HostTensor.ofList [2.0; 4.0; 6.0]
     let b = HostTensor.ofList [1.0; 4.0; 7.0]
     let c = a <<>> b // c = [true; false; true]
    See Also
    member FillNotEqual: Tensor<'R> -> Tensor<'R> -> unit

    static member ( <<>> ): Tensor<'T> * 'T -> Tensor<bool>

    Element-wise not-equality test with scalar.

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

    The tensor on the left side of this binary operation.

    'T 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<'T> * Tensor<'T> -> Tensor<bool>

    static member ( <<>> ): 'T * Tensor<'T> -> Tensor<bool>

    Element-wise not-equality test with scalar.

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

    The scalar on the left side of this binary operation.

    Tensor<'T> 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<'T> * Tensor<'T> -> Tensor<bool>
    Back to top Generated by DocFX