Aracılığıyla paylaş


DataViewTypeManager.Register Yöntem

Tanım

Aşırı Yüklemeler

Register(DataViewType, Type, DataViewTypeAttribute)

Bu işlev, dataViewType ML.NET'in tür sistemindeki type verilerin gösterimi olması gerektiğini söyler. Kayıtlı type , standart bir C# nesnesinin türü olmalıdır.

Register(DataViewType, Type, IEnumerable<Attribute>)
Geçersiz.
Geçersiz.

Bu işlev, dataViewType ML.NET'in tür sistemindeki type verilerin gösterimi olması gerektiğini söyler. Kayıtlı type , standart bir C# nesnesinin türü olmalıdır.

Register(DataViewType, Type, DataViewTypeAttribute)

Kaynak:
DataViewTypeManager.cs
Kaynak:
DataViewTypeManager.cs
Kaynak:
DataViewTypeManager.cs

Bu işlev, dataViewType ML.NET'in tür sistemindeki type verilerin gösterimi olması gerektiğini söyler. Kayıtlı type , standart bir C# nesnesinin türü olmalıdır.

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)

Parametreler

dataViewType
DataViewType

ML.NET'in tür sisteminde karşılık gelen type türü.

type
Type

C# dilinde yerel tür.

typeAttribute
DataViewTypeAttribute

DataViewTypeAttribute öğesine iliştirilentype.

Şunlara uygulanır

Register(DataViewType, Type, IEnumerable<Attribute>)

Kaynak:
DataViewTypeManager.cs
Kaynak:
DataViewTypeManager.cs
Kaynak:
DataViewTypeManager.cs

Dikkat

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

Dikkat

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

Bu işlev, dataViewType ML.NET'in tür sistemindeki type verilerin gösterimi olması gerektiğini söyler. Kayıtlı type , standart bir C# nesnesinin türü olmalıdır.

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

Parametreler

dataViewType
DataViewType

ML.NET'in tür sisteminde karşılık gelen type türü.

type
Type

C# dilinde yerel tür.

typeAttributes
IEnumerable<Attribute>

Attributeöğesine iliştirilen types.

Öznitelikler

Şunlara uygulanır