\definecolor{taupegray}{rgb}{0.55, 0.52, 0.54} \tikzstyle{er} = [rectangle,minimum width=7cm,minimum height=2.5cm,text centered,draw=taupegray,drop shadow,rounded corners] \begin{tikzpicture}[node distance = 0,scale = 0.55] \tikzstyle{every node}=[scale=0.55] \node (encoder)[er,very thick,minimum width=5.5cm,fill=ugreen!20]{\huge{编码器}}; \node (decoder)[er,very thick,right of=encoder,xshift=7.75cm,fill=red!20]{\huge{解码器}}; \node (decoder_1)[er,very thick,right of=decoder,xshift=8.75cm,fill=red!20]{\huge{解码器}}; \draw [->,very thick,draw=black!70]([xshift=0.2cm]encoder.east) -- ([xshift=-0.2cm]decoder.west); \draw [->,very thick,draw=black!70]([xshift=0.2cm]decoder.east) -- ([xshift=-0.2cm]decoder_1.west); \foreach \x in {-2.2cm,-1.1cm,...,2.2cm} \draw [->,very thick,draw=black!70]([xshift=\x,yshift=-1cm]encoder.south) -- ([xshift=\x,yshift=-0.2cm]encoder.south); \node [below of = encoder,xshift=-2.3cm,yshift=-2.95cm,scale=1.2]{\large{[LEN]}}; \node [below of = encoder,xshift=-1.05cm,yshift=-2.9cm,scale=1.2]{\large{hello}}; \node [below of = encoder,xshift=0cm,yshift=-3.05cm,scale=1.2]{,}; \node [below of = encoder,xshift=1.1cm,yshift=-2.9cm,scale=1.2]{\large{world}}; \node [below of = encoder,xshift=2.2cm,yshift=-2.9cm,scale=1.2]{!}; \draw [->,very thick,draw=black!70]([xshift=-2.2cm,yshift=0.2cm]encoder.north) -- ([xshift=-2.2cm,yshift=1cm]encoder.north); \node [below of = encoder,xshift=-2.2cm,yshift=2.9cm,scale=1.5]{4}; \foreach \x in {-2.7cm,-0.9cm,...,2.8cm} {\draw [->,very thick,draw=black!70]([xshift=\x,yshift=-1cm]decoder.south) -- ([xshift=\x,yshift=-0.2cm]decoder.south); \draw [->,very thick,draw=black!70]([xshift=\x,yshift=0.2cm]decoder.north) -- ([xshift=\x,yshift=1cm]decoder.north);} \node [below of = decoder,xshift=-2.7cm,yshift=-2.9cm,scale=1.6]{\small{[Mask]}}; \node [below of = decoder,xshift=-0.9cm,yshift=-2.9cm,scale=1.6]{\small{[Mask]}}; \node [below of = decoder,xshift=0.9cm,yshift=-2.9cm,scale=1.6]{\small{[Mask]}}; \node [below of = decoder,xshift=2.7cm,yshift=-2.9cm,scale=1.6]{\small{[Mask]}}; \node [below of = decoder,xshift=-2.7cm,yshift=2.9cm,scale=1.6]{你好}; \node [below of = decoder,xshift=-0.9cm,yshift=2.7cm,scale=1.6]{,}; \node [below of = decoder,xshift=0.9cm,yshift=2.9cm,scale=1.6]{你好}; \node [below of = decoder,xshift=2.6cm,yshift=2.9cm,scale=1.6]{!}; \foreach \x in {-2.7cm,-0.9cm,...,2.8cm} {\draw [->,very thick,draw=black!70]([xshift=\x,yshift=-1cm]decoder_1.south) -- ([xshift=\x,yshift=-0.2cm]decoder_1.south); \draw [->,very thick,draw=black!70]([xshift=\x,yshift=0.2cm]decoder_1.north) -- ([xshift=\x,yshift=1cm]decoder_1.north);} \node [below of = decoder_1,xshift=-2.7cm,yshift=2.9cm,scale=1.6]{你好}; \node [below of = decoder_1,xshift=-0.9cm,yshift=2.7cm,scale=1.6]{,}; \node [below of = decoder_1,xshift=0.9cm,yshift=2.9cm,scale=1.6]{世界}; \node [below of = decoder_1,xshift=2.7cm,yshift=2.9cm,scale=1.6]{!}; \node [below of = decoder_1,xshift=-2.7cm,yshift=-2.9cm,scale=1.6]{你好}; \node [below of = decoder_1,xshift=-0.9cm,yshift=-3cm,scale=1.6]{,}; \node [below of = decoder_1,xshift=0.9cm,yshift=-2.9cm,scale=1.6]{\small{[Mask]}}; \node [below of = decoder_1,xshift=2.7cm,yshift=-2.9cm,scale=1.6]{!}; \end{tikzpicture}