Pytorch-CapsuleNet
Pytorch-CapsuleNet copied to clipboard
Why need to get the mean value of the batch dimension?
b_ij = b_ij + a_ij.squeeze(4).mean(dim=0, keepdim=True)
i guess it is similar to effect of Batch Normalization?