CoordAttention
CoordAttention copied to clipboard
why self.relu(x + 3) / 6 ?
https://github.com/Andrew-Qibin/CoordAttention/blob/8ab857a3b3a149dfe1ce018a90c5c23816bbf860/coordatt.py#L12
To normalize the result to between 0 and 1
To normalize the result to between 0 and 1 why normalize the result to between 0 and 1?
This is for better optimization for mobile networks.