TensorSpan<T>.Equals(Object) 方法

定义

注意

Equals() on TensorSpan will always throw an exception. Use the equality operator instead.

不支持此方法,因为无法装箱跨度。 若要比较两个范围,请使用 operator==。

public:
 override bool Equals(System::Object ^ obj);
[System.Obsolete("Equals() on TensorSpan will always throw an exception. Use the equality operator instead.")]
public override bool Equals (object? obj);
[<System.Obsolete("Equals() on TensorSpan will always throw an exception. Use the equality operator instead.")>]
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

参数

obj
Object

返回

属性

例外

此方法始终引发。

适用于