ReadOnlyTensorSpan<T>.Inequality Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value that indicates whether two tensor spans are not equal.
public:
static bool operator !=(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % left, System::Numerics::Tensors::ReadOnlyTensorSpan<T> % right);
public static bool operator !=(in System.Numerics.Tensors.ReadOnlyTensorSpan<T> left, in System.Numerics.Tensors.ReadOnlyTensorSpan<T> right);
static member op_Inequality : ReadOnlyTensorSpan * ReadOnlyTensorSpan -> bool
Public Shared Operator != (ByRef left As ReadOnlyTensorSpan(Of T), ByRef right As ReadOnlyTensorSpan(Of T)) As Boolean
Parameters
The first tensor span to compare.
- right
- ReadOnlyTensorSpan<T>
The second tensor span to compare.
Returns
true
if the two tensor span are not equal; otherwise, false
.
Remarks
Two tensor span are not equal if they have the different lengths or if the corresponding elements of left
and right
do not point to the same memory. Note that the test for equality does not attempt to determine whether the contents are not equal.