def forward(self, global_feats: Tensor, instance_feats: Tensor) -> Tensor:
        """Applies attention to the channel dimension of the input tensor."""

        instance_feats = self.atn(instance_feats).unsqueeze(2).unsqueeze(3)
        return global_feats * instance_feats
Applies attention to the channel dimension of the input tensor.
mmpose/mmpose/models/heads/heatmap_heads/cid_head.py