Share via


Anchors(Int32[], Int32[], Int32[], Double[], Double[]) Constructor

Definition

Initializes a new instance of the Anchors class.

public Anchors (int[] pyramidLevels = default, int[] strides = default, int[] sizes = default, double[] ratios = default, double[] scales = default);
new Microsoft.ML.TorchSharp.AutoFormerV2.Anchors : int[] * int[] * int[] * double[] * double[] -> Microsoft.ML.TorchSharp.AutoFormerV2.Anchors
Public Sub New (Optional pyramidLevels As Integer() = Nothing, Optional strides As Integer() = Nothing, Optional sizes As Integer() = Nothing, Optional ratios As Double() = Nothing, Optional scales As Double() = Nothing)

Parameters

pyramidLevels
Int32[]

Pyramid levels.

strides
Int32[]

Strides between adjacent bboxes.

sizes
Int32[]

Different sizes for bboxes.

ratios
Double[]

Different ratios for height/width.

scales
Double[]

Scale size of bboxes.

Applies to