Udostępnij przez


Anchors(Int32[], Int32[], Int32[], Double[], Double[]) Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy 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)

Parametry

pyramidLevels
Int32[]

Poziomy piramidy.

strides
Int32[]

Kroki między sąsiednimi skrzynkami odbiorczymi.

sizes
Int32[]

Różne rozmiary dla skrzynek odbiorczych.

ratios
Double[]

Różne współczynniki wysokości/szerokości.

scales
Double[]

Skalowanie rozmiaru skrzynek bbox.

Dotyczy