1 write to seq
Microsoft.ML.TorchSharp (1)
AutoFormerV2\PatchEmbed.cs (1)
30
this.
seq
= ModuleList<Module<Tensor, Tensor>>();
5 references to seq
Microsoft.ML.TorchSharp (5)
AutoFormerV2\PatchEmbed.cs (5)
31
this.
seq
.Add(new Conv2dBN(inChannels, embedChannels / 2, 3, 2, 1));
32
this.
seq
.Add(nn.GELU());
33
this.
seq
.Add(new Conv2dBN(embedChannels / 2, embedChannels, 3, 2, 1));
42
foreach (var submodule in this.
seq
)
57
seq
.Dispose();