After encoding a embedding using a Fully Convolutional Encoder. I want to carry out channel wise normalisation of the embedding using the L2 norm of that channel and do a pixelwise division for that channel, before i feed it to the decoder. How can I do it?
My embedding is of shape [N,C,H,W].