Show / Hide Table of Contents

    Method Equals

    override member Equals: obj -> bool

    Tests for equality to another object.

    Declaration
    override member Equals: other:obj -> bool
    Parameters
    Type Name Description
    obj other

    The other object.

    Returns
    Type Description
    bool

    true if the objects are equal. Otherwise false.

    Remarks

    Two tensors are equal if they have the same storage and same layout. In this case, changing one tensor will have the exact same effect on the other tensor.

    Two tensors can overlap, i.e. one can partially or fully affect the other, without being equal.

    The elements of a tensor do not affect equality, i.e. two tensors can contain exactly the same values without being equal.

    See Also
    static member ( ==== ): Tensor<'T> * Tensor<'T> -> Tensor<bool>
    static member almostEqual: Tensor<'T> * Tensor<'T> * 'T option * 'T option -> bool
    Back to top Generated by DocFX