by concatenating the Img2Mol encoder with the logD downstream network described in the previous section. Here, M p is the output space of the p th convolutional layer in the network. M p has dimension k p × k p × C p , where C p is the number of channels in the p th layer, and k p is the size length of the embedding in terms of superpixels. Thus, our contextual explanations are obtained via the network Φ applied to a graphical depiction of the sample molecule.