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[]
在相鄰的箱子間大步走。
- sizes
- Int32[]
不同尺寸的 bbox。
- ratios
- Double[]
高度與寬度的比例不同。
- scales
- Double[]
bbox 的比例尺大小。