Anchors(Int32[], Int32[], Int32[], Double[], Double[]) 构造函数

定义

初始化 Anchors 类的新实例。

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)

参数

pyramidLevels
Int32[]

棱锥图级别。

strides
Int32[]

相邻框之间的步幅。

sizes
Int32[]

bbox 的不同大小。

ratios
Double[]

高度/宽度的比率不同。

scales
Double[]

bbox 的缩放大小。

适用于