1 write to pyramidLevels
Microsoft.ML.TorchSharp (1)
AutoFormerV2\Anchors.cs (1)
45
this.
pyramidLevels
= pyramidLevels != null ? pyramidLevels : new int[] { 3, 4, 5, 6, 7 };
4 references to pyramidLevels
Microsoft.ML.TorchSharp (4)
AutoFormerV2\Anchors.cs (4)
46
this.strides = strides != null ? strides : this.
pyramidLevels
.Select(x => (int)Math.Pow(2, x)).ToArray();
47
this.sizes = sizes != null ? sizes : this.
pyramidLevels
.Select(x => (int)Math.Pow(2, x + 2)).ToArray();
67
for (int idx = 0; idx < this.
pyramidLevels
.Length; ++idx)
69
var x = this.
pyramidLevels
[idx];