How would you design a convolutional neural network (CNN) to detect defects on silicon wafers from high-resolution images?