Bahasa

DataViewTypeManager.Register Metode

Definisi

Overload

Nama Deskripsi
Register(DataViewType, Type, DataViewTypeAttribute)

Fungsi ini memberi tahu bahwa dataViewType harus menjadi representasi data dalam type sistem jenis ML.NET. Yang terdaftar type harus merupakan tipe objek C# standar.

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

Fungsi ini memberi tahu bahwa dataViewType harus menjadi representasi data dalam type sistem jenis ML.NET. Yang terdaftar type harus merupakan tipe objek C# standar.

Register(DataViewType, Type, DataViewTypeAttribute)

Sumber:
DataViewTypeManager.cs
Sumber:
DataViewTypeManager.cs
Sumber:
DataViewTypeManager.cs

Fungsi ini memberi tahu bahwa dataViewType harus menjadi representasi data dalam type sistem jenis ML.NET. Yang terdaftar type harus merupakan tipe objek C# standar.

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)

Parameter

dataViewType
DataViewType

Jenis yang sesuai dalam type sistem jenis ML.NET.

type
Type

Jenis asli dalam C#.

typeAttribute
DataViewTypeAttribute

Yang DataViewTypeAttribute dilampirkan ke type.

Berlaku untuk

Register(DataViewType, Type, IEnumerable<Attribute>)

Sumber:
DataViewTypeManager.cs
Sumber:
DataViewTypeManager.cs
Sumber:
DataViewTypeManager.cs

Perhatian

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

Perhatian

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

Fungsi ini memberi tahu bahwa dataViewType harus menjadi representasi data dalam type sistem jenis ML.NET. Yang terdaftar type harus merupakan tipe objek C# standar.

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

Parameter

dataViewType
DataViewType

Jenis yang sesuai dalam type sistem jenis ML.NET.

type
Type

Jenis asli dalam C#.

typeAttributes
IEnumerable<Attribute>

AttributeS yang dilampirkan ke type.

Atribut

Berlaku untuk