次の方法で共有


DataViewSchema.Annotations.Builder.AddPrimitiveValue<TValue> メソッド

定義

プリミティブ値型の注釈列を 1 つ追加します。

public void AddPrimitiveValue<TValue> (string name, Microsoft.ML.Data.PrimitiveDataViewType type, TValue value, Microsoft.ML.DataViewSchema.Annotations annotations = default);
member this.AddPrimitiveValue : string * Microsoft.ML.Data.PrimitiveDataViewType * 'Value * Microsoft.ML.DataViewSchema.Annotations -> unit
Public Sub AddPrimitiveValue(Of TValue) (name As String, type As PrimitiveDataViewType, value As TValue, Optional annotations As DataViewSchema.Annotations = Nothing)

型パラメーター

TValue

パラメーター

name
String

注釈名。

type
PrimitiveDataViewType

注釈の種類。

value
TValue

注釈の値

annotations
DataViewSchema.Annotations

入力列の注釈。 注釈列の注釈は、特定の型 (ベクターのスロット名、キー型のキー値など) を除いて、多少まれであることに注意してください。

適用対象