A layer with parameters random generated each iteration

Hi all,

I would like to have a convolution layer with fixed weights. But more importantly the weights should be reinitialised in each iteration randomly and then normalized so that it sums to 1.
Is this possible without the need to write a c++/cuda code myself?