Renormalization Group and Deep neural network codes