VectorTypeAttribute 클래스

정의

멤버를 주로 결과 배열의 차원을 설정할 수 있도록 멤버로 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 이 생성자의 "차원" 매개 변수로 제공된 셰이프 정보를 사용하여 다차원 배열로 사용합니다.

적용 대상