Hexagonal diffraction gratings generated by convolutional neural network-based deep learning for suppressing