MCPcopy Create free account

hub / github.com/MenghaoGuo/Awesome-Vision-Attentions / functions

Functions164 in github.com/MenghaoGuo/Awesome-Vision-Attentions

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
Methodexecute
(self, x, H, W)
code/spatial_attentions/segformer_module.py:28
Methodexecute
(self, x)
code/spatial_attentions/attention_augmented_module.py:25
Methodexecute
(self, x)
code/spatial_attentions/mhsa.py:18
Methodexecute
(self, x1, theta)
code/spatial_attentions/stn.py:79
Methodexecute
(self, x)
code/spatial_attentions/external_attention.py:29
Methodexecute
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
Methodexecute
(self, x)
code/spatial_attentions/gc_module.py:45
Methodexecute
(self, context, feature)
code/spatial_attentions/ocr.py:17
Methodexecute
(self, x)
code/spatial_attentions/hamnet.py:31
Methodexecute
(self, x)
code/spatial_attentions/hamnet.py:68
Methodexecute
(self, input)
code/spatial_attentions/doub_attention.py:14
Methodexecute
(self, x)
code/spatial_attentions/offset_module.py:19
Methodexecute
(self, x)
code/channel_spatial_attentions/bam.py:7
Methodexecute
(self, x)
code/channel_spatial_attentions/bam.py:27
Methodexecute
(self, x)
code/channel_spatial_attentions/bam.py:51
Methodexecute
(self, x)
code/channel_spatial_attentions/bam.py:62
Methodexecute
(self, x)
code/channel_spatial_attentions/lka.py:14
Methodexecute
(self, x)
code/channel_spatial_attentions/lka.py:32
Methodexecute
(self, x)
code/channel_spatial_attentions/scnet.py:29
Methodexecute
(self, x)
code/channel_spatial_attentions/cbam.py:15
Methodexecute
(self, x)
code/channel_spatial_attentions/cbam.py:42
Methodexecute
(self, x)
code/channel_spatial_attentions/cbam.py:58
Methodexecute
(self, x)
code/channel_spatial_attentions/cbam.py:74
Methodexecute
(self, x)
code/channel_spatial_attentions/cbam.py:87
Methodexecute
(self, x)
code/channel_spatial_attentions/simam_module.py:13
Methodexecute
(self, x)
code/channel_spatial_attentions/coordatt_module.py:11
Methodexecute
(self, x)
code/channel_spatial_attentions/coordatt_module.py:20
Methodexecute
(self, x)
code/channel_spatial_attentions/coordatt_module.py:39
Methodexecute
(self, x)
code/channel_spatial_attentions/danet.py:30
Methodexecute
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
Methodexecute
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
Methodexecute
(self, x)
code/channel_spatial_attentions/triplet_attention.py:39
Methodexecute
(self, x)
code/channel_spatial_attentions/triplet_attention.py:49
Methodexecute
(self, x)
code/channel_spatial_attentions/triplet_attention.py:64
Methodexecute
(self, x)
code/channel_spatial_attentions/triplet_attention.py:80
Methodexecute
(self, x)
code/channel_spatial_attentions/strip_pooling_module.py:46
Methodexecute
(self, query, key, value)
code/spatial_temporal_attentions/dstt_module.py:16
Methodexecute
(self, x, t)
code/spatial_temporal_attentions/dstt_module.py:41
Methodexecute
(self, x)
code/channel_attentions/dia_module.py:14
Methodexecute
Defines the forward computation of the LSTMCell
code/channel_attentions/dia_module.py:39
Methodexecute
(self, x)
code/channel_attentions/dia_module.py:70
Methodexecute
(self, input)
code/channel_attentions/soca_module.py:7
Methodexecute
(self, input, iterN)
code/channel_attentions/soca_module.py:37
Methodexecute
(self, x)
code/channel_attentions/soca_module.py:120
Methodexecute
(self, x)
code/channel_attentions/eca_module.py:19
Methodexecute
(self, x)
code/channel_attentions/gct_module.py:18
Methodexecute
(self, x)
code/channel_attentions/enc_module.py:43
Methodexecute
(self, x)
code/channel_attentions/enc_module.py:68
Methodexecute
(self, x)
code/channel_attentions/se_module.py:16
Methodexecute
(self, x)
code/channel_attentions/fcanet.py:62
Methodexecute
(self, x)
code/channel_attentions/fcanet.py:93
Methodexecute
: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
Methodexecute
(self, z)
code/branch_attentions/dynamic_conv.py:27
Methodexecute
(self, z)
code/branch_attentions/dynamic_conv.py:66
Methodexecute
(self, x)
code/branch_attentions/resnest_module.py:21
Methodexecute
(self, x)
code/branch_attentions/resnest_module.py:62
Methodexecute
(self, x)
code/branch_attentions/sk_module.py:40
Methodgrad
(self, grad_output)
code/channel_attentions/soca_module.py:21
Functionnull_context
()
code/spatial_attentions/hamnet.py:8
Methodt
(tensor)
code/spatial_attentions/hamnet.py:40
Methodupdate_temperature
(self)
code/branch_attentions/dynamic_conv.py:63
← previous101–164 of 164, ranked by callers