SchemaAnnotationsExtensions.HasKeyValues 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
若輸入欄位為 VectorDataViewType,且 具有 SlotNames 註釋,VectorDataViewType且 TextDataViewTypeItemType 為 ,Size且 的 與該輸入向量大小相符,則返回true。
public static bool HasKeyValues(this Microsoft.ML.DataViewSchema.Column column, Microsoft.ML.Data.PrimitiveDataViewType keyValueItemType = default);
static member HasKeyValues : Microsoft.ML.DataViewSchema.Column * Microsoft.ML.Data.PrimitiveDataViewType -> bool
<Extension()>
Public Function HasKeyValues (column As DataViewSchema.Column, Optional keyValueItemType As PrimitiveDataViewType = Nothing) As Boolean
參數
- column
- DataViewSchema.Column
將被查詢的欄位 Annotations 。
- keyValueItemType
- PrimitiveDataViewType