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