CoordConv
CoordConv
A **CoordConv** layer is a simple extension to the standard convolutional layer. It has the same functional signature as a convolutional layer, but accomplishes the mapping by first concatenating extra channels to the incoming representation. These channels contain hard-coded coordinates, the most basic version of which is one channel for the $i$ coordinate and one for the $j$ coordinate.

The CoordConv layer keeps the properties of few parameters and efficient computation from convolutions, but allows the network to learn to keep or to discard translation invariance as is needed for the task being learned. This is useful for coordinate transform based tasks where regular convolutions can fail.
An Intriguing Failing of Convolutional Neural Networks and the CoordConv Solution
https://paperswithcode.com/paper/an-intriguing-failing-of-convolutional-neural
An Intriguing Failing of Convolutional Neural Networks and the CoordConv Solution