Artificial Neural Networks: Paradigms, Applications, and Hardware Implementations