Rapid morphology characterization of two-dimensional TMDs and lateral heterostructures based on deep learning