Structure-functional analysis and synthesis of deep convolutional neural networks