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 的缩放大小。