1 instantiation of AutoFormerV2Block
Microsoft.ML.TorchSharp (1)
AutoFormerV2\BasicLayer.cs (1)
51this.blocks.Add(new AutoFormerV2Block(inChannels: inChannels, numHeads: numHeads, windowSize: windowSize, shiftSize: (i % 2 == 0) ? 0 : (windowSize / 2), mlpRatio: mlpRatio, dropRatio: dropRatio, localConvSize: localConvSize, useShiftWindow: useShiftWindow, useInterpolate: useInterpolate));
4 references to AutoFormerV2Block
Microsoft.ML.TorchSharp (4)
AutoFormerV2\AutoFormerV2Block.cs (2)
29/// Initializes a new instance of the <see cref="AutoFormerV2Block"/> class. 41: base(nameof(AutoFormerV2Block))
AutoFormerV2\BasicLayer.cs (2)
23private readonly ModuleList<AutoFormerV2Block> blocks; 48this.blocks = new ModuleList<AutoFormerV2Block>();