1 write to layers
Microsoft.ML.TorchSharp (1)
AutoFormerV2\AutoFormerV2Backbone.cs (1)
84this.layers = new ModuleList<Module<Tensor, int, int, (Tensor, int, int, Tensor, int, int)>>();
6 references to layers
Microsoft.ML.TorchSharp (6)
AutoFormerV2\AutoFormerV2Backbone.cs (6)
85this.layers.Add(new ConvLayer( 92this.layers.Add(new BasicLayer( 125(xOut, h, w, x, wh, ww) = this.layers[0].forward(x, wh, ww); 127for (int iLayer = 1; iLayer < this.layers.Count; iLayer++) 130(xOut, h, w, x, wh, ww) = this.layers[iLayer].forward(x, wh, ww); 167layers.Dispose();