Fig. 1: Structure of the deep learning model.

a Convolutional neural networks are used to extract spatial features from an image of a structure by extracting data from smaller parts of the image. b Recurrent neural networks are used to find the required optical response based on the features extracted from the CNN