Microstructure Recognition by Deep Learning