Hello. I am doing some ML experiments and would like to understand how to implement a particular architecture.
The existing network outputs a full image segmentation map in three categories. I want to append a layer that takes a single spatial maxpool over just the central area of the images. The output would therefore be three numbers, the maximum activation for each category that appears anywhere in the specified area of the image.
What is the best way, or any way, to implement? I do hope that this question makes sense.
Thanks for your help!