(self, cls_num=0, scale=1)
| 27 | |
| 28 | """ |
| 29 | def __init__(self, cls_num=0, scale=1): |
| 30 | super(SpatialGather_Module, self).__init__() |
| 31 | self.cls_num = cls_num |
| 32 | self.scale = scale |
| 33 | |
| 34 | def forward(self, feats, probs): |
| 35 | batch_size, c, _, _ = probs.size(0), probs.size(1), probs.size(2), \ |