VectorTypeAttribute クラス

定義

メンバーを a として VectorDataViewTypeマークし、主に結果の配列の次元を設定できるようにします。

[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class VectorTypeAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type VectorTypeAttribute = class
    inherit Attribute
Public NotInheritable Class VectorTypeAttribute
Inherits Attribute
継承
VectorTypeAttribute
属性

コンストラクター

VectorTypeAttribute()

サイズが不明な 1 次元配列としてメンバーをマークします。

VectorTypeAttribute(Int32)

指定したサイズの 1 次元配列としてメンバーをマークします。

VectorTypeAttribute(Int32[])

配列の予想される次元でメンバーをマークします。 この属性は 1 次元配列に追加されることが想定されており、多次元配列には追加しないでください。 内部的には、ML.NET では、このコンストラクターの "ディメンション" パラメーターとして提供される図形情報を使用して、多次元配列として使用します。

適用対象