Anchors(Int32[], Int32[], Int32[], Double[], Double[]) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.