how do you expect for network to draw an arc absent from the training set, without knowledge about geometry?
what you’re seeing is like nearest neighbour inference (from 1d inputs!), the nature of that curvature is different