Deep neural networks building blocks