↓ 14 callersMethod__init__(self, dim, num_heads, mlp_ratio=4., drop=0., attn_drop=0., drop_path=0.,
act_layer=nn.GELU,
core/FlowFormer/LatentCostFormer/twins.py:752
↓ 14 callersMethodleft_multiply(self, u0, u1, u2, u3, u4, u5)
core/utils/flow_transforms.py:85
↓ 1 callersMethodattend_with_rpe Q: [BH1W1, 1, dim] K: [BH1W1, H3W3, dim] Q_r: [BH1W1, H3W3, dim] K_r: [BH1W1, H3W3, dim]
core/FlowFormer/LatentCostFormer/attention.py:115
↓ 1 callersMethodencode_flow_token cost_maps - B*H1*W1, cost_heads_num, H2, W2 coords - B, 2, H1, W1
core/FlowFormer/LatentCostFormer/decoder.py:185