Anchors(Int32[], Int32[], Int32[], Double[], Double[]) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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 的大小。