SchemaAnnotationsExtensions.HasKeyValues Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne true si la colonne d’entrée est de VectorDataViewType, et qui a SlotNames une annotation d’un VectorDataViewType dont ItemType est TextDataViewType, et plus loin dont Size la taille correspond à cette taille de vecteur d’entrée.
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
Paramètres
- column
- DataViewSchema.Column
Colonne dont Annotations la requête sera interrogée.
- keyValueItemType
- PrimitiveDataViewType
Type des valeurs de clé individuelles à interroger. Un type commun, bien que non universel, à fournir est Instance, donc si laissé non spécifié cela sera supposé avoir la valeur Instance.