ReadOnlyTensorSpan<T>.Equality Operator

Definition

Returns true if left and right point at the same memory and have the same length. Note that this does not check to see if the contents are equal.

C#
public static bool operator ==(System.Numerics.Tensors.ReadOnlyTensorSpan<T> left, System.Numerics.Tensors.ReadOnlyTensorSpan<T> right);

Parameters

Returns

true if left and right point at the same memory and have the same length. This operator does not check if the contents are equal.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided)