VectorTypeAttribute Constructors

Definition

Overloads

VectorTypeAttribute()

Mark member as single-dimensional array with unknown size.

VectorTypeAttribute(Int32)

Mark member as single-dimensional array with specified size.

VectorTypeAttribute(Int32[])

Mark member with expected dimensions of array.

VectorTypeAttribute()

Mark member as single-dimensional array with unknown size.

public VectorTypeAttribute ();
Public Sub New ()

VectorTypeAttribute(Int32)

Mark member as single-dimensional array with specified size.

public VectorTypeAttribute (int size);
new Microsoft.ML.Data.VectorTypeAttribute : int -> Microsoft.ML.Data.VectorTypeAttribute
Public Sub New (size As Integer)

Parameters

size
Int32

Expected size of array. A zero value indicates that the vector type is considered to have unknown length.

VectorTypeAttribute(Int32[])

Mark member with expected dimensions of array.

public VectorTypeAttribute (params int[] dimensions);
new Microsoft.ML.Data.VectorTypeAttribute : int[] -> Microsoft.ML.Data.VectorTypeAttribute
Public Sub New (ParamArray dimensions As Integer())

Parameters

dimensions
Int32[]

Dimensions of array. All values should be non-negative. A zero value indicates that the vector type is considered to have unknown length along that dimension.

Applies to