Can I use a 1d convolution on a set of coordinates?

So i am training a reinforcement learning agent. It is fed in its position, and the target positions using x,y coordinates. An example input would be like [[1,3],[2,2],[5,1]].

I thought that since if i just fed in the input with a flatten layer (would be 1,3,2,2,5,1), there would not be a strong enough association between each coordinate pair. Because of this, i used a 1d convolution layer with 5 filters, and a step and size of 2, which i hoped would avoid the problem.

My question is if this will reach a limit; if i am using a convolution i guess i am kind of turning the input pair into one number, which seems like it cannot convey as much info as a coordinate would. Will my method work, or should i restructure my input, or maybe just go back to flattening the coordinates?

Topic convolutional-neural-network reinforcement-learning deep-learning neural-network

Category Data Science

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.