1. Some materials are taken from machine learning course of Victor Kitov
(c) cs231n
If number of input features is $N_{in}$ how to calculate number of output features $N_{out}$?
$$N_{out} = \frac{N_{in} + 2P - K}{S} + 1$$