<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{rnnnode} = [minimum height=1.1em,minimum width=3.5em,inner sep=2pt,rounded corners=1pt,draw,fill=red!20];
\tikzstyle{wnode} = [minimum height=1.0em,minimum width=3.5em,inner sep=2pt,rounded corners=1pt,draw,fill=white];

{
\node [rnnnode,anchor=west,fill=green!20] (t1) at (0,0) {\scriptsize{$e_y()$}};
}

{
\node [rnnnode,anchor=south] (s1) at ([yshift=1em]t1.north) {\scriptsize{$\textbf{s}_1$}};
}

\node [wnode,anchor=north] (wt1) at ([yshift=-0.8em]t1.south) {\scriptsize{$\langle$eos$\rangle$}};

{
\node [rnnnode,anchor=south,fill=blue!20] (o1) at ([yshift=1em]s1.north) {\scriptsize{Softmax}};
}

{
\foreach \x in {1}{
    \draw [-&gt;] ([yshift=-0.7em]t\x.south) -- ([yshift=-0.1em]t\x.south);
    \draw [-&gt;] ([yshift=0.1em]t\x.north) -- ([yshift=-0.1em]s\x.south);
    \draw [-&gt;] ([yshift=0.1em]s\x.north) -- ([yshift=-0.1em]o\x.south);

}
}


{
\draw [-&gt;] ([xshift=-0.5em]s1.west) -- ([xshift=-0.1em]s1.west) node [pos=0,left,inner sep=1pt] {\scriptsize{0}};
}


{
\node [anchor=center,inner sep=2pt] (wo1) at ([yshift=1.2em]o1.north) {};
}

{
\node [anchor=east] (vocab) at ([xshift=-5em]s1.west) {\tiny{$\begin{bmatrix} \textrm{Have} &amp; 0.50 \\ \textrm{I} &amp; 0.02 \\ \textrm{it} &amp; 0.03 \\ \textrm{has} &amp; 0.30 \\ \textrm{you} &amp; 0.01 \\ \textrm{the} &amp; 0.01 \\ \textrm{a} &amp; 0.01 \\ \textrm{an} &amp; 0.02 \\ \textrm{he} &amp; 0.03 \\ \textrm{she} &amp; 0.01 \\ \textrm{are} &amp; 0.00 \\ \textrm{am} &amp; 0.01 \\ ... &amp; ... \end{bmatrix}$}};
\node [anchor=south] (vocablabel) at (vocab.north) {\scriptsize{单词的概率分布}};
\draw [-&gt;,red,very thick,dotted] (o1.west) .. controls +(west:1) and +(east:2) .. ([yshift=1em]vocab.south east);
}

{
\node [anchor=east,inner sep=1pt] (vocabtopn) at ([xshift=-0.5em,yshift=-0.5em]wo1.west) {\scriptsize{$\begin{bmatrix} \textrm{Have}  \end{bmatrix}$}};
\draw [-&gt;] ([yshift=-1.6em,xshift=-0.4em]vocab.north east) .. controls +(east:1) and +(west:1) ..  ([xshift=0.1em,yshift=0.4em]vocabtopn.west) node [pos=0.3,below] (topnlabel) {\scriptsize{top-1}};


}


\end{scope}
\end{tikzpicture}</pre></body></html>