語言

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 的比例尺大小。

適用於