Partilhar via


DataViewTypeManager.Register Método

Definição

Sobrecargas

Register(DataViewType, Type, DataViewTypeAttribute)

Essa função informa que dataViewType deve ser a representação de dados no type sistema de tipos do ML.NET. O registrado type deve ser um tipo de objeto C# padrão.

Register(DataViewType, Type, IEnumerable<Attribute>)
Obsoleto.
Obsoleto.

Essa função informa que dataViewType deve ser a representação de dados no type sistema de tipos do ML.NET. O registrado type deve ser um tipo de objeto C# padrão.

Register(DataViewType, Type, DataViewTypeAttribute)

Essa função informa que dataViewType deve ser a representação de dados no type sistema de tipos do ML.NET. O registrado type deve ser um tipo de objeto C# padrão.

public static void Register (Microsoft.ML.Data.DataViewType dataViewType, Type type, Microsoft.ML.Data.DataViewTypeAttribute typeAttribute = default);
static member Register : Microsoft.ML.Data.DataViewType * Type * Microsoft.ML.Data.DataViewTypeAttribute -> unit
Public Shared Sub Register (dataViewType As DataViewType, type As Type, Optional typeAttribute As DataViewTypeAttribute = Nothing)

Parâmetros

dataViewType
DataViewType

O tipo correspondente do sistema de type tipos do ML.NET.

type
Type

Tipo nativo em C#.

typeAttribute
DataViewTypeAttribute

O DataViewTypeAttribute anexado a type.

Aplica-se a

Register(DataViewType, Type, IEnumerable<Attribute>)

Cuidado

This API is deprecated, please use the new form of Register which takes in a single DataViewTypeAttribute instead.

Cuidado

This API is depricated, please use the new form of Register which takes in a single DataViewTypeAttribute instead.

Essa função informa que dataViewType deve ser a representação de dados no type sistema de tipos do ML.NET. O registrado type deve ser um tipo de objeto C# padrão.

[System.Obsolete("This API is deprecated, please use the new form of Register which takes in a single DataViewTypeAttribute instead.", false)]
public static void Register (Microsoft.ML.Data.DataViewType dataViewType, Type type, System.Collections.Generic.IEnumerable<Attribute> typeAttributes);
public static void Register (Microsoft.ML.Data.DataViewType dataViewType, Type type, System.Collections.Generic.IEnumerable<Attribute> typeAttributes = default);
[System.Obsolete("This API is depricated, please use the new form of Register which takes in a single DataViewTypeAttribute instead.", false)]
public static void Register (Microsoft.ML.Data.DataViewType dataViewType, Type type, System.Collections.Generic.IEnumerable<Attribute> typeAttributes);
[<System.Obsolete("This API is deprecated, please use the new form of Register which takes in a single DataViewTypeAttribute instead.", false)>]
static member Register : Microsoft.ML.Data.DataViewType * Type * seq<Attribute> -> unit
static member Register : Microsoft.ML.Data.DataViewType * Type * seq<Attribute> -> unit
[<System.Obsolete("This API is depricated, please use the new form of Register which takes in a single DataViewTypeAttribute instead.", false)>]
static member Register : Microsoft.ML.Data.DataViewType * Type * seq<Attribute> -> unit
Public Shared Sub Register (dataViewType As DataViewType, type As Type, typeAttributes As IEnumerable(Of Attribute))
Public Shared Sub Register (dataViewType As DataViewType, type As Type, Optional typeAttributes As IEnumerable(Of Attribute) = Nothing)

Parâmetros

dataViewType
DataViewType

O tipo correspondente do sistema de type tipos do ML.NET.

type
Type

Tipo nativo em C#.

typeAttributes
IEnumerable<Attribute>

Os Attributes anexados a type.

Atributos

Aplica-se a