I would like to run a separate over individual filters. Specifically imagine I have two matrices and I want to convolve each of them with its own filter. And I wonder if it possible to write it as a single convolution.
MWE should be as follows
x,y = randn(3,3,1,1),randn(3,3,1,1) Cx, Cy = Conv((2,2), 1 => 1), Conv((2,2), 1 => 1) xy = cat(x, y, dims = 3) C = ??? C(xy) = cat(Cx(x), Cy(y), dims = 3)
C = ??? stands for an operator I do not know how to write.
Thanks for an help in advance.