<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\begin{tikzpicture}
\begin{scope}
\tikzstyle{word} = [font=\scriptsize]
\tikzstyle{model} = [rectangle,draw,minimum height=3em,minimum width=6em,rounded corners=4pt,fill=red!15!white]

\node [anchor=center] (ate) at (0,0) {};

\node [model,minimum width=10.5em,line width=0.7pt] (decoder) at ([xshift=6em]ate.east) {Decoder};
\node [word] (w1) at ([yshift=-2em,xshift=1em]decoder.south) {\small{$x_3$}};
\node [word] (w2) at ([xshift=-1em]w1.west) {\#};
\node [word] (w3) at ([xshift=-1em]w2.west) {\#};
\node [word] (w4) at ([xshift=-1em]w3.west) {\#};
\node [word] (w5) at ([xshift=1em]w1.east) {\small{$x_4$}};
\node [word] (w6) at ([xshift=1em]w5.east) {\#};

\node [word] (w7) at ([yshift=2em,xshift=1em]decoder.north) {\small{$x_4$}};
\node [word] (w8) at ([yshift=0em,xshift=-1em]w7.west) {\small{$x_3$}};
\node [word] (w9) at ([yshift=0em,xshift=1em]w7.east) {\small{$x_5$}};

\draw [-&gt;,thick] (w1.north) -- ([yshift=1.35em]w1.north);
\draw [-&gt;,thick] (w2.north) -- ([yshift=1.35em]w2.north);
\draw [-&gt;,thick] (w3.north) -- ([yshift=1.35em]w3.north);
\draw [-&gt;,thick] (w4.north) -- ([yshift=1.35em]w4.north);
\draw [-&gt;,thick] (w5.north) -- ([yshift=1.35em]w5.north);
\draw [-&gt;,thick] (w6.north) -- ([yshift=1.35em]w6.north);

\draw [-&gt;,thick] ([yshift=-1.4em]w7.south) -- (w7.south);
\draw [-&gt;,thick] ([yshift=-1.4em]w8.south) -- (w8.south);
\draw [-&gt;,thick] ([yshift=-1.4em]w9.south) -- (w9.south);

%encoder
\node [model,minimum width=10.5em,line width=0.7pt] (encoder) at ([xshift=-6em]ate.west) {Encoder};
\node [word] (we1) at ([yshift=-2em,xshift=1em]encoder.south) {\#};
\node [word] (we2) at ([xshift=-1em]we1.west) {\#};
\node [word] (we3) at ([xshift=-1em]we2.west) {\small{$x_2$}};
\node [word] (we4) at ([xshift=-1em]we3.west) {\small{$x_3$}};
\node [word] (we5) at ([xshift=1em]we1.east) {\#};
\node [word] (we6) at ([xshift=1em]we5.east) {\small{$x_6$}};

\draw [-&gt;,thick] (we1.north) -- ([yshift=1.35em]we1.north);
\draw [-&gt;,thick] (we2.north) -- ([yshift=1.35em]we2.north);
\draw [-&gt;,thick] (we3.north) -- ([yshift=1.35em]we3.north);
\draw [-&gt;,thick] (we4.north) -- ([yshift=1.35em]we4.north);
\draw [-&gt;,thick] (we5.north) -- ([yshift=1.35em]we5.north);
\draw [-&gt;,thick] (we6.north) -- ([yshift=1.35em]we6.north);

\draw [-&gt;,line width=2pt] ([xshift=0.5em]encoder)--([xshift=-0.5em]decoder);
\end{scope}
\end{tikzpicture}</pre></body></html>