Partilhar via


SchemaAnnotationsExtensions.HasKeyValues Método

Definição

Retorna true se a coluna de entrada é de VectorDataViewType, e que tem SlotNames anotação de um VectorDataViewType cujo ItemType é de , e ainda cujo Size corresponde a esse tamanho de vetor de TextDataViewTypeentrada.

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

Parâmetros

column
DataViewSchema.Column

A coluna que Annotations será consultada.

keyValueItemType
PrimitiveDataViewType

O tipo de chave-valores individuais a serem consultados. Um tipo comum, embora não universal, a ser fornecido é Instance, portanto, se não for especificado, será considerado que ele tem o valor Instance.

Retornos

Aplica-se a

Confira também