VLSI Architectures for Deep Learning