Squeeze-and-Excitation (Hu et al., 2018) first summarizes each channel with a single number, its global average. That summary is what the network uses to decide how much to emphasize each channel.
Implement squeeze(x), the global average pooling over height and width.
Average over the first two axes.
No results yet
Run your code to check it against the examples, or submit to run every test.