A deep neural network for classification of melt-pool images in metal additive manufacturing