braindecode.modules.FCA#
- class braindecode.modules.FCA(in_channels, seq_len=62, reduction_rate=4, freq_idx=0)[source]#
Frequency Channel Attention Networks from [Qin2021].
- Parameters:
Examples
>>> import torch >>> from braindecode.modules import FCA >>> module = FCA(in_channels=16, seq_len=64, reduction_rate=4, freq_idx=0) >>> inputs = torch.randn(2, 16, 1, 64) >>> outputs = module(inputs) >>> outputs.shape torch.Size([2, 16, 1, 64])
References
[Qin2021]Qin, Z., Zhang, P., Wu, F., Li, X., 2021. FcaNet: Frequency Channel Attention Networks. ICCV 2021.
Methods