Condividi tramite


DataViewTypeManager.Register Metodo

Definizione

Overload

Register(DataViewType, Type, DataViewTypeAttribute)

Questa funzione indica che dataViewType deve essere rappresentazione dei dati nel type sistema di tipi di ML.NET. Il record type deve essere un tipo di oggetto C# standard.

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

Questa funzione indica che dataViewType deve essere rappresentazione dei dati nel type sistema di tipi di ML.NET. Il record type deve essere un tipo di oggetto C# standard.

Register(DataViewType, Type, DataViewTypeAttribute)

Questa funzione indica che dataViewType deve essere rappresentazione dei dati nel type sistema di tipi di ML.NET. Il record type deve essere un tipo di oggetto C# standard.

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)

Parametri

dataViewType
DataViewType

Tipo corrispondente di type nel sistema di tipi di ML.NET.

type
Type

Tipo nativo in C#.

typeAttribute
DataViewTypeAttribute

Oggetto DataViewTypeAttribute collegato a type.

Si applica a

Register(DataViewType, Type, IEnumerable<Attribute>)

Attenzione

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

Attenzione

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

Questa funzione indica che dataViewType deve essere rappresentazione dei dati nel type sistema di tipi di ML.NET. Il record type deve essere un tipo di oggetto C# standard.

[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)

Parametri

dataViewType
DataViewType

Tipo corrispondente di type nel sistema di tipi di ML.NET.

type
Type

Tipo nativo in C#.

typeAttributes
IEnumerable<Attribute>

Oggetto Attributecollegato a type.

Attributi

Si applica a