A Comparative Study of the Impact of Depth in Deep Learning Architectures