Udostępnij za pośrednictwem


DataViewTypeManager.Register Metoda

Definicja

Przeciążenia

Register(DataViewType, Type, DataViewTypeAttribute)

Ta funkcja informuje, że dataViewType powinna być reprezentacją danych w type systemie typów ML.NET. Zarejestrowany type musi być standardowym typem obiektu C#.

Register(DataViewType, Type, IEnumerable<Attribute>)
Przestarzałe.
Przestarzałe.

Ta funkcja informuje, że dataViewType powinna być reprezentacją danych w type systemie typów ML.NET. Zarejestrowany type musi być standardowym typem obiektu C#.

Register(DataViewType, Type, DataViewTypeAttribute)

Ta funkcja informuje, że dataViewType powinna być reprezentacją danych w type systemie typów ML.NET. Zarejestrowany type musi być standardowym typem obiektu C#.

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)

Parametry

dataViewType
DataViewType

Odpowiedni typ type w systemie typów ML.NET.

type
Type

Typ natywny w języku C#.

typeAttribute
DataViewTypeAttribute

Dołączony DataViewTypeAttribute do typeelementu .

Dotyczy

Register(DataViewType, Type, IEnumerable<Attribute>)

Przestroga

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

Przestroga

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

Ta funkcja informuje, że dataViewType powinna być reprezentacją danych w type systemie typów ML.NET. Zarejestrowany type musi być standardowym typem obiektu C#.

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

Parametry

dataViewType
DataViewType

Odpowiedni typ type w systemie typów ML.NET.

type
Type

Typ natywny w języku C#.

typeAttributes
IEnumerable<Attribute>

Dołączono Attributeelement do elementu type.

Atrybuty

Dotyczy