Tensor.SequenceEqual 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SequenceEqual<T>(TensorSpan<T>, ReadOnlyTensorSpan<T>) |
通过使用 IEquatable{T} 比较元素,确定两个序列是否相等。等于(T)。 |
SequenceEqual<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>) |
通过使用 IEquatable{T} 比较元素,确定两个序列是否相等。等于(T)。 |
SequenceEqual<T>(TensorSpan<T>, ReadOnlyTensorSpan<T>)
- Source:
- TensorExtensions.cs
通过使用 IEquatable{T} 比较元素,确定两个序列是否相等。等于(T)。
public:
generic <typename T>
where T : IEquatable<T>[System::Runtime::CompilerServices::Extension]
static bool SequenceEqual(System::Numerics::Tensors::TensorSpan<T> % tensor, System::Numerics::Tensors::ReadOnlyTensorSpan<T> % other);
public static bool SequenceEqual<T> (this scoped in System.Numerics.Tensors.TensorSpan<T> tensor, scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> other) where T : IEquatable<T>;
static member SequenceEqual : TensorSpan * ReadOnlyTensorSpan -> bool (requires 'T :> IEquatable<'T>)
<Extension()>
Public Function SequenceEqual(Of T As IEquatable(Of T)) (ByRef tensor As TensorSpan(Of T), ByRef other As ReadOnlyTensorSpan(Of T)) As Boolean
类型参数
- T
参数
- tensor
- TensorSpan<T>
- other
- ReadOnlyTensorSpan<T>
返回
适用于
SequenceEqual<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)
- Source:
- TensorExtensions.cs
通过使用 IEquatable{T} 比较元素,确定两个序列是否相等。等于(T)。
public:
generic <typename T>
where T : IEquatable<T>[System::Runtime::CompilerServices::Extension]
static bool SequenceEqual(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % tensor, System::Numerics::Tensors::ReadOnlyTensorSpan<T> % other);
public static bool SequenceEqual<T> (this scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> tensor, scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> other) where T : IEquatable<T>;
static member SequenceEqual : ReadOnlyTensorSpan * ReadOnlyTensorSpan -> bool (requires 'T :> IEquatable<'T>)
<Extension()>
Public Function SequenceEqual(Of T As IEquatable(Of T)) (ByRef tensor As ReadOnlyTensorSpan(Of T), ByRef other As ReadOnlyTensorSpan(Of T)) As Boolean
类型参数
- T
参数
- tensor
- ReadOnlyTensorSpan<T>
- other
- ReadOnlyTensorSpan<T>