The steps involved in training a perception in Deep Learning