Skip to main content
. 2021 Jun 15;11:12576. doi: 10.1038/s41598-021-90328-x

Figure 4.

Figure 4

Attention mechanisms: (left) In the global attention model output decision for a particular slice is affected by all the slice in the stack, whereas (right) in the Toeplitz attention model the output is only affected by a local neighborhood of slices (e.g D = 1 in the exemplar). Note that this figure is intended to explain only the attention layers, the encoder and decoder structures can be seen in Fig. 3.