Hello, No question is silly, please don’t worry these forums are very helpful for people like us.
As i understand from your question you need to do a step before convolution layer right. i think all you need is hooks for your task. Please check this link if it is similar to your problem. [1]