OnnxMapTypeAttribute Classe

Definição

Para declarar OnnxMapType a coluna IDataView como um campo em um classcampo, o campo associado deve ser marcado com OnnxMapTypeAttribute. Seus usos são semelhantes aos de VectorTypeAttribute e outros classes derivados de DataViewTypeAttribute.

public sealed class OnnxMapTypeAttribute : Microsoft.ML.Data.DataViewTypeAttribute
type OnnxMapTypeAttribute = class
    inherit DataViewTypeAttribute
Public NotInheritable Class OnnxMapTypeAttribute
Inherits DataViewTypeAttribute
Herança
OnnxMapTypeAttribute

Construtores

OnnxMapTypeAttribute()

Crie um tipo de mapa (também conhecido como dicionário).

OnnxMapTypeAttribute(Type, Type)

Crie um tipo de mapa (também conhecido como dicionário). Um mapa é uma coleção de pares chave-valor. keyType especifica o tipo de chaves e valueType é o tipo de valores.

Métodos

Equals(DataViewTypeAttribute)

Os tipos de mapa com o mesmo tipo de chave e o mesmo tipo de valor devem ser iguais.

GetHashCode()

Produza o mesmo código hash para tipos de mapa com o mesmo tipo de chave e o mesmo tipo de valor.

Register()

Uma implementação de Register().

Aplica-se a