We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65ffe98 commit 5c63497Copy full SHA for 5c63497
channel_attention/global_filter_network.py
@@ -0,0 +1,17 @@
1
+import torch
2
+from torch import nn
3
+
4
5
+class GlobalFilterModule(nn.Module):
6
+ """
7
+ The Global Filter Module for Time Series (1D) or Image (2D) Analysis.
8
+ This module implements a global filter mechanism to capture long-range dependencies.
9
10
+ References: "Global Filter Networks for Image Classification" by Yuchen Fan, et al.
11
12
+ URL: https://arxiv.org/abs/2107.00645
13
14
15
+ def __init__(self, *args, **kwargs):
16
+ super().__init__(*args, **kwargs)
17
+ pass
0 commit comments