DataViewTypeAttribute クラス

定義

DataViewTypeAttribute クラスのインスタンスが ML.NET IDataViewとして読み込まれる場合は、クラスのプロパティとフィールドを装飾するために使用する必要があります。 関数 Register() を呼び出して、 DataViewType a を Type その Attributes に登録します。 登録された値とその値に型指定されるたびにType、その値の型 (つまり aType) IDataView が関連付けられますDataViewTypeAttribute

[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public abstract class DataViewTypeAttribute : Attribute, IEquatable<Microsoft.ML.Data.DataViewTypeAttribute>
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type DataViewTypeAttribute = class
    inherit Attribute
    interface IEquatable<DataViewTypeAttribute>
Public MustInherit Class DataViewTypeAttribute
Inherits Attribute
Implements IEquatable(Of DataViewTypeAttribute)
継承
DataViewTypeAttribute
派生
属性
実装

コンストラクター

DataViewTypeAttribute()

DataViewTypeAttribute クラスのインスタンスが ML.NET IDataViewとして読み込まれる場合は、クラスのプロパティとフィールドを装飾するために使用する必要があります。 関数 Register() を呼び出して、 DataViewType a を Type その Attributes に登録します。 登録された値とその値に型指定されるたびにType、その値の型 (つまり aType) IDataView が関連付けられますDataViewTypeAttribute

メソッド

Equals(DataViewTypeAttribute)

if が等価で、それ以外の場合thisotherfalse戻りますtrue

Register()

カスタム型を処理するときに ML.NET によって暗黙的に呼び出される関数。 DataViewType をカスタム型とその属性にバインドします。

適用対象