共用方式為


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[]

相鄰 bbox 之間的跨步。

sizes
Int32[]

bbox 的不同大小。

ratios
Double[]

高度/寬度的不同比例。

scales
Double[]

Bbox 的大小。

適用於