template - CNN model with pytorch