DataViewTypeManager.Register Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
Register(DataViewType, Type, DataViewTypeAttribute) |
Ta funkcja informuje, że |
Register(DataViewType, Type, IEnumerable<Attribute>) |
Przestarzałe.
Przestarzałe.
Ta funkcja informuje, że |
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 type
elementu .
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
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla