1 instantiation of Attention
Microsoft.ML.TorchSharp (1)
AutoFormerV2\AutoFormerV2Block.cs (1)
58this.attn = new Attention(inChannels, headChannels, numHeads, attnRatio: 1, windowResolution: windowResolution);
3 references to Attention
Microsoft.ML.TorchSharp (3)
AutoFormerV2\Attention.cs (2)
39/// Initializes a new instance of the <see cref="Attention"/> class. 47: base(nameof(Attention))
AutoFormerV2\AutoFormerV2Block.cs (1)
22private readonly Attention attn;