An question in your code
fantasysponge opened this issue · comments
energy_new = torch.max(energy, -1, keepdim=True)[0].expand_as(energy)-energy
what's meaning for this line?
PyTorch code for our ECCV 2020 paper "Single Image Super-Resolution via a Holistic Attention Network"
fantasysponge opened this issue · comments
energy_new = torch.max(energy, -1, keepdim=True)[0].expand_as(energy)-energy
what's meaning for this line?