Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MenghaoGuo/Awesome-Vision-Attentions
/ functions
Functions
164 in github.com/MenghaoGuo/Awesome-Vision-Attentions
⨍
Functions
164
◇
Types & classes
57
Method
__init__
(self, in_planes, out_planes, kernel_size, ratio=0.25, stride=1, padding=0, dilation=1, groups=1, bias=True, K
code/branch_attentions/dynamic_conv.py:40
Method
__init__
(self, radix, cardinality)
code/branch_attentions/resnest_module.py:16
Method
__init__
Constructor Args: features: input channel dimensionality. M: the number of branchs. G: num of convolution
code/branch_attentions/sk_module.py:7
Method
execute
(self, x, H, W)
code/spatial_attentions/segformer_module.py:28
Method
execute
(self, x)
code/spatial_attentions/attention_augmented_module.py:25
Method
execute
(self, x)
code/spatial_attentions/mhsa.py:18
Method
execute
(self, x1, theta)
code/spatial_attentions/stn.py:79
Method
execute
(self, x)
code/spatial_attentions/external_attention.py:29
Method
execute
inputs : x : input feature maps( B X C X H X W) returns : out : attention value + input f
code/spatial_attentions/self_attention.py:21
Method
execute
(self, x)
code/spatial_attentions/gc_module.py:45
Method
execute
(self, context, feature)
code/spatial_attentions/ocr.py:17
Method
execute
(self, x)
code/spatial_attentions/hamnet.py:31
Method
execute
(self, x)
code/spatial_attentions/hamnet.py:68
Method
execute
(self, input)
code/spatial_attentions/doub_attention.py:14
Method
execute
(self, x)
code/spatial_attentions/offset_module.py:19
Method
execute
(self, x)
code/channel_spatial_attentions/bam.py:7
Method
execute
(self, x)
code/channel_spatial_attentions/bam.py:27
Method
execute
(self, x)
code/channel_spatial_attentions/bam.py:51
Method
execute
(self, x)
code/channel_spatial_attentions/bam.py:62
Method
execute
(self, x)
code/channel_spatial_attentions/lka.py:14
Method
execute
(self, x)
code/channel_spatial_attentions/lka.py:32
Method
execute
(self, x)
code/channel_spatial_attentions/scnet.py:29
Method
execute
(self, x)
code/channel_spatial_attentions/cbam.py:15
Method
execute
(self, x)
code/channel_spatial_attentions/cbam.py:42
Method
execute
(self, x)
code/channel_spatial_attentions/cbam.py:58
Method
execute
(self, x)
code/channel_spatial_attentions/cbam.py:74
Method
execute
(self, x)
code/channel_spatial_attentions/cbam.py:87
Method
execute
(self, x)
code/channel_spatial_attentions/simam_module.py:13
Method
execute
(self, x)
code/channel_spatial_attentions/coordatt_module.py:11
Method
execute
(self, x)
code/channel_spatial_attentions/coordatt_module.py:20
Method
execute
(self, x)
code/channel_spatial_attentions/coordatt_module.py:39
Method
execute
(self, x)
code/channel_spatial_attentions/danet.py:30
Method
execute
inputs : x : input feature maps( B X C X H X W) returns : out : attention value + input featu
code/channel_spatial_attentions/danet.py:65
Method
execute
inputs : x : input feature maps( B X C X H X W) returns : out : attention value + input featu
code/channel_spatial_attentions/danet.py:97
Method
execute
(self, x)
code/channel_spatial_attentions/triplet_attention.py:39
Method
execute
(self, x)
code/channel_spatial_attentions/triplet_attention.py:49
Method
execute
(self, x)
code/channel_spatial_attentions/triplet_attention.py:64
Method
execute
(self, x)
code/channel_spatial_attentions/triplet_attention.py:80
Method
execute
(self, x)
code/channel_spatial_attentions/strip_pooling_module.py:46
Method
execute
(self, query, key, value)
code/spatial_temporal_attentions/dstt_module.py:16
Method
execute
(self, x, t)
code/spatial_temporal_attentions/dstt_module.py:41
Method
execute
(self, x)
code/channel_attentions/dia_module.py:14
Method
execute
Defines the forward computation of the LSTMCell
code/channel_attentions/dia_module.py:39
Method
execute
(self, x)
code/channel_attentions/dia_module.py:70
Method
execute
(self, input)
code/channel_attentions/soca_module.py:7
Method
execute
(self, input, iterN)
code/channel_attentions/soca_module.py:37
Method
execute
(self, x)
code/channel_attentions/soca_module.py:120
Method
execute
(self, x)
code/channel_attentions/eca_module.py:19
Method
execute
(self, x)
code/channel_attentions/gct_module.py:18
Method
execute
(self, x)
code/channel_attentions/enc_module.py:43
Method
execute
(self, x)
code/channel_attentions/enc_module.py:68
Method
execute
(self, x)
code/channel_attentions/se_module.py:16
Method
execute
(self, x)
code/channel_attentions/fcanet.py:62
Method
execute
(self, x)
code/channel_attentions/fcanet.py:93
Method
execute
:param x: tensor with shape of [batch_size, size] :return: tensor with shape of [batch_size, size] applies σ(x) ⨀
code/branch_attentions/highway.py:22
Method
execute
(self, z)
code/branch_attentions/dynamic_conv.py:27
Method
execute
(self, z)
code/branch_attentions/dynamic_conv.py:66
Method
execute
(self, x)
code/branch_attentions/resnest_module.py:21
Method
execute
(self, x)
code/branch_attentions/resnest_module.py:62
Method
execute
(self, x)
code/branch_attentions/sk_module.py:40
Method
grad
(self, grad_output)
code/channel_attentions/soca_module.py:21
Function
null_context
()
code/spatial_attentions/hamnet.py:8
Method
t
(tensor)
code/spatial_attentions/hamnet.py:40
Method
update_temperature
(self)
code/branch_attentions/dynamic_conv.py:63
← previous
101–164 of 164, ranked by callers