共用方式為


TensorSpan<T>.Equals(Object) 方法

定義

警告

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

不支援此方法,因為無法進行 Boxed。 若要比較兩個範圍,請使用 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

傳回

屬性

例外狀況

這個方法一律擲回。

適用於