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