Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
M
mtbookv2
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
NiuTrans
mtbookv2
Commits
c4d60e0e
Commit
c4d60e0e
authored
Jan 13, 2021
by
孟霞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
17图
parent
b26c251b
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
48 行增加
和
47 行删除
+48
-47
Chapter17/Figures/figure-cache.tex
+8
-8
Chapter17/Figures/figure-layer.tex
+32
-32
Chapter17/Figures/figure-multiencoder.tex
+4
-4
Chapter17/Figures/figure-twodecoding.tex
+4
-3
Chapter17/chapter17.tex
+0
-0
没有找到文件。
Chapter17/Figures/figure-cache.tex
查看文件 @
c4d60e0e
\begin{tikzpicture}
%\tikzstyle{every node}=[scale=0.8]
\tikzstyle
{
prob
}
=[minimum width=0.4em, fill=blue!
15
,inner sep=0pt]
\node
[draw,fill=yellow!
15
,inner sep=0pt,minimum width=3em,minimum height=5em]
(key) at (0,0)
{}
;
\tikzstyle
{
prob
}
=[minimum width=0.4em, fill=blue!
20
,inner sep=0pt]
\node
[draw,fill=yellow!
30
,inner sep=0pt,minimum width=3em,minimum height=5em]
(key) at (0,0)
{}
;
\draw
[]
([yshift=0.5em]key.180) -- ([yshift=0.5em]key.0);
\draw
[]
([yshift=1.5em]key.180) -- ([yshift=1.5em]key.0);
\draw
[]
([yshift=-0.5em]key.180) -- ([yshift=-0.5em]key.0);
\draw
[]
([yshift=-1.5em]key.180) -- ([yshift=-1.5em]key.0);
\node
[draw,fill=
ugreen!15
,inner sep=0pt,minimum width=3em,minimum height=5em]
(value) at (3em,0)
{}
;
\node
[draw,fill=
green!30!white
,inner sep=0pt,minimum width=3em,minimum height=5em]
(value) at (3em,0)
{}
;
\draw
[]
([yshift=0.5em]value.180) -- ([yshift=0.5em]value.0);
\draw
[]
([yshift=1.5em]value.180) -- ([yshift=1.5em]value.0);
\draw
[]
([yshift=-0.5em]value.180) -- ([yshift=-0.5em]value.0);
...
...
@@ -17,10 +17,10 @@
\node
[anchor=south,font=\footnotesize,inner sep=0pt]
at ([yshift=0.2em]value.north)
{
value
}
;
\node
[anchor=south,font=\footnotesize,inner sep=0pt]
(cache)at ([yshift=2em,xshift=1.5em]key.north)
{
\small\bfnew
{
缓存
}}
;
\node
[draw,anchor=east,thick,minimum size=1.8em,fill=orange!
15
]
(dt) at ([yshift=2.1em,xshift=-4em]key.west)
{${
\mathbi
{
d
}}_{
t
}$}
;
\node
[draw,anchor=east,thick,minimum size=1.8em,fill=orange!
30
]
(dt) at ([yshift=2.1em,xshift=-4em]key.west)
{${
\mathbi
{
d
}}_{
t
}$}
;
\node
[anchor=north,font=\footnotesize]
(readlab) at ([xshift=2.8em,yshift=0.3em]dt.north)
{
\red
{
读取
}}
;
\node
[draw,anchor=east,thick,minimum size=1.8em,fill=
ugreen!15
]
(st) at ([xshift=-3.7em]dt.west)
{${
\mathbi
{
s
}}_{
t
}$}
;
\node
[draw,anchor=east,thick,minimum size=1.8em,fill=red!
15
]
(st2) at ([xshift=-0.85em,yshift=3.5em]dt.west)
{$
\widetilde
{
\mathbi
{
s
}}_{
t
}$}
;
\node
[draw,anchor=east,thick,minimum size=1.8em,fill=
green!30!white
]
(st) at ([xshift=-3.7em]dt.west)
{${
\mathbi
{
s
}}_{
t
}$}
;
\node
[draw,anchor=east,thick,minimum size=1.8em,fill=red!
30
]
(st2) at ([xshift=-0.85em,yshift=3.5em]dt.west)
{$
\widetilde
{
\mathbi
{
s
}}_{
t
}$}
;
%\node[draw,anchor=north,circle,inner sep=0pt, minimum size=1.2em,fill=yellow] (add) at ([yshift=-1em]st2.south){+};
\node
[draw,thick,inner sep=0pt, minimum size=1.1em, circle]
(add) at ([yshift=-1.5em]st2.south)
{}
;
...
...
@@ -29,12 +29,12 @@
\node
[anchor=north,inner sep=0pt,font=\footnotesize,text=red]
at ([xshift=-0em,yshift=-0.5em]add.south)
{
融合
}
;
\node
[draw,anchor=east,thick,minimum size=1.8em,fill=yellow!
15
]
(ct) at ([xshift=-2em,yshift=-3.5em]st.west)
{$
{
\mathbi
{
C
}}_{
t
}$}
;
\node
[draw,anchor=east,thick,minimum size=1.8em,fill=yellow!
30
]
(ct) at ([xshift=-2em,yshift=-3.5em]st.west)
{$
{
\mathbi
{
C
}}_{
t
}$}
;
\node
[anchor=north,font=\footnotesize]
(matchlab) at ([xshift=6.7em,yshift=-0.1em]ct.north)
{
\red
{
匹配
}}
;
\node
[anchor=east]
(y) at ([xshift=-6em,yshift=1em]st.west)
{$
\mathbi
{
y
}_{
t
-
1
}$}
;
\node
[draw,anchor=east,minimum width=7em,minimum height=1.4em,fill=blue!
2
0]
(output) at ([xshift=-2.6em,yshift=2.6em]st2.west)
{}
;
\node
[draw,anchor=east,minimum width=7em,minimum height=1.4em,fill=blue!
3
0]
(output) at ([xshift=-2.6em,yshift=2.6em]st2.west)
{}
;
\node
[anchor=south]
(yt) at ([yshift=4.2em]output.north)
{$
\mathbi
{
y
}_{
t
}$}
;
\draw
[]
([xshift=-0.7em]output.90) -- ([xshift=-0.7em]output.-90);
...
...
Chapter17/Figures/figure-layer.tex
查看文件 @
c4d60e0e
...
...
@@ -3,38 +3,38 @@
\tikzstyle
{
every node
}
=[scale=0.8]
\foreach
\x
in
{
1,2,3,4
}
\node
[draw,inner sep=0pt,minimum height=1em,minimum width=1.6em,fill=red!3
0
,rounded corners=1pt]
(c1
_
\x
) at (0em+2em*
\x
, 0em)
{}
;
\node
[draw,inner sep=0pt,minimum height=1em,minimum width=1.6em,fill=red!3
5
,rounded corners=1pt]
(c1
_
\x
) at (0em+2em*
\x
, 0em)
{}
;
\node
[anchor=north]
(hpre) at ([yshift=1.8em]c1
_
1.north)
{${
\mathbi
{
h
}}^
{
\textrm
{
pre
}
k
}$}
;
\foreach
\x
in
{
1,2,3
}
\node
[draw,inner sep=0pt,minimum height=1em,minimum width=1.6em,fill=red!3
0
,rounded corners=1pt]
(c2
_
\x
) at (11em+2em*
\x
, 0em)
{}
;
\node
[draw,inner sep=0pt,minimum height=1em,minimum width=1.6em,fill=red!3
5
,rounded corners=1pt]
(c2
_
\x
) at (11em+2em*
\x
, 0em)
{}
;
\node
[anchor=north]
(hpre) at ([yshift=1.8em]c2
_
1.north)
{${
\mathbi
{
h
}}^
{
\textrm
{
pre
}
1
}$}
;
\foreach
\x
in
{
1,2,3,4,5
}
\node
[draw,inner sep=0pt,minimum height=1em,minimum width=1.6em,fill=red!3
0
,rounded corners=1pt]
(c3
_
\x
) at (18.4em+2em*
\x
, 0em)
{}
;,minimum width=1em
\node
[draw,inner sep=0pt,minimum height=1em,minimum width=1.6em,fill=red!3
5
,rounded corners=1pt]
(c3
_
\x
) at (18.4em+2em*
\x
, 0em)
{}
;,minimum width=1em
\foreach
\x
in
{
1,2,3,4,5
}
\node
[draw,inner sep=0pt,minimum height=1em,minimum width=1.6em,fill=blue!3
0
,rounded corners=1pt]
(c4
_
\x
) at (18.4em+2em*
\x
, 10.4em)
{}
;
\node
[draw,inner sep=0pt,minimum height=1em,minimum width=1.6em,fill=blue!3
5
,rounded corners=1pt]
(c4
_
\x
) at (18.4em+2em*
\x
, 10.4em)
{}
;
%\node[inner sep=0pt,minimum size=1em,fill=ugreen,circle] (c5) at (9em, 7em){};
\node
[draw,inner sep=0pt,minimum size=1.2em,fill=green!
20,circle
]
(qs) at (18.6em, 6.4em)
{}
;
\node
[draw,inner sep=0pt,minimum size=1.2em,fill=green!
20,circle
]
(qw) at (18.6em, 4.4em)
{}
;
\node
[anchor=north]
(qslab) at ([xshift=-0.8em,yshift=1em]qs.north)
{${
\mathbi
{
q
}}
^
s
$}
;
\node
[anchor=north]
(qwlab) at ([xshift=-0.8em,yshift=1em]qw.north)
{${
\mathbi
{
q
}}
^
w
$}
;
%\node[inner sep=0pt,minimum size=1em,fill=ugreen,circle
,thick
] (c5) at (9em, 7em){};
\node
[draw,inner sep=0pt,minimum size=1.2em,fill=green!
30!white,circle,thick
]
(qs) at (18.6em, 6.4em)
{}
;
\node
[draw,inner sep=0pt,minimum size=1.2em,fill=green!
30!white,circle,thick
]
(qw) at (18.6em, 4.4em)
{}
;
\node
[anchor=north]
(qslab) at ([xshift=-0.8em,yshift=1em]qs.north)
{${
\mathbi
{
q
}}
_
s
$}
;
\node
[anchor=north]
(qwlab) at ([xshift=-0.8em,yshift=1em]qw.north)
{${
\mathbi
{
q
}}
_
w
$}
;
\node
[draw,thick,inner sep=0pt, minimum size=1.2em, circle]
(sigma) at (24.4em, 8em)
{}
;
\node
[draw,thick,inner sep=0pt, minimum size=1.2em, circle
,thick
]
(sigma) at (24.4em, 8em)
{}
;
\draw
[-,thick]
(sigma.0) -- (sigma.180);
\draw
[-,thick]
(sigma.90) -- (sigma.-90);
\node
[draw,fill=orange!3
0,inner sep=0pt, minimum size=1.2em, circle
]
(add1) at (5em, 3em)
{}
;
\node
[draw,fill=orange!3
0,inner sep=0pt, minimum size=1.2em, circle
]
(add2) at (15em, 3em)
{}
;
\node
[draw,fill=orange!3
0,inner sep=0pt, minimum size=1.2em, circle
]
(add3) at (10em, 5.2em)
{}
;
\node
[anchor=north]
(cond) at ([xshift=-1
em,yshift=0.5em]add3.north)
{${
\mathbi
{
d
}
}$}
;
\node
[draw,fill=orange!3
5,inner sep=0pt, minimum size=1.2em, circle,thick
]
(add1) at (5em, 3em)
{}
;
\node
[draw,fill=orange!3
5,inner sep=0pt, minimum size=1.2em, circle,thick
]
(add2) at (15em, 3em)
{}
;
\node
[draw,fill=orange!3
5,inner sep=0pt, minimum size=1.2em, circle,thick
]
(add3) at (10em, 5.2em)
{}
;
\node
[anchor=north]
(cond) at ([xshift=-1
.2em,yshift=0.5em]add3.north)
{${
\mathbi
{
d
}_
t
}$}
;
\node
[anchor=north]
(cons1) at ([xshift=-1em,yshift=0.5em]add2.north)
{${
\mathbi
{
s
}}^
1
$}
;
\node
[anchor=north]
(consj) at ([xshift=-1em,yshift=0.5em]add1.north)
{${
\mathbi
{
s
}}^
k
$}
;
\begin{pgfonlayer}
{
background
}
\node
[draw,rounded corners=2pt,drop shadow,fill=white, minimum width=8.3em][fit=(c1_1)(c1_4)]
(box1)
{}
;
\node
[draw,rounded corners=2pt,drop shadow,fill=white,minimum width=6.4em][fit=(c2_1)(c2_3)]
(box2)
{}
;
\node
[draw,rounded corners=2pt,drop shadow,fill=white,minimum width=10.5em][fit=(c3_1)(c3_5)]
(box3)
{}
;
\node
[draw,rounded corners=2pt,drop shadow,fill=white,minimum width=10.3em][fit=(c4_1)(c4_5)]
(box4)
{}
;
\node
[draw,rounded corners=2pt,drop shadow,fill=white, minimum width=8.3em
,thick
][fit=(c1_1)(c1_4)]
(box1)
{}
;
\node
[draw,rounded corners=2pt,drop shadow,fill=white,minimum width=6.4em
,thick
][fit=(c2_1)(c2_3)]
(box2)
{}
;
\node
[draw,rounded corners=2pt,drop shadow,fill=white,minimum width=10.5em
,thick
][fit=(c3_1)(c3_5)]
(box3)
{}
;
\node
[draw,rounded corners=2pt,drop shadow,fill=white,minimum width=10.3em
,thick
][fit=(c4_1)(c4_5)]
(box4)
{}
;
%\node[draw,rounded corners=2pt,inner xsep=6pt,drop shadow,fill=white][fit=(c5)](box5){};
\end{pgfonlayer}
...
...
@@ -44,15 +44,15 @@
\node
[text=ublue]
at (10.5em, 0em)
{
\small\bfnew
{
...
}}
;
\node
[text=ublue]
(hh) at (-0.8em, 0em)
{
\small\bfnew
{
...
}}
;
\draw
[->,thick, out=70, in=-120]
([yshift=0.1em]c1
_
1.90) to ([yshift=-0.1em]add1.-
9
0);
\draw
[->,thick, out=70, in=-120]
([yshift=0.1em]c1
_
1.90) to ([yshift=-0.1em]add1.-
12
0);
%node[xshift=-0.4em,yshift=1.2em]{$ \mathbi{h}^ {\textrm j}$}
\draw
[->,thick, out=80, in=-100]
([yshift=0.1em]c1
_
2.90) to ([yshift=-0.1em]add1.-
9
0);
\draw
[->,thick, out=100, in=-80]
([yshift=0.1em]c1
_
3.90) to ([yshift=-0.1em]add1.-
9
0);
\draw
[->,thick, out=110, in=-60]
([yshift=0.1em]c1
_
4.90) to ([yshift=-0.1em]add1.-
9
0);
\draw
[->,thick, out=80, in=-100]
([yshift=0.1em]c1
_
2.90) to ([yshift=-0.1em]add1.-
10
0);
\draw
[->,thick, out=100, in=-80]
([yshift=0.1em]c1
_
3.90) to ([yshift=-0.1em]add1.-
8
0);
\draw
[->,thick, out=110, in=-60]
([yshift=0.1em]c1
_
4.90) to ([yshift=-0.1em]add1.-
6
0);
\draw
[->,thick, out=70, in=-110]
([yshift=0.1em]c2
_
1.90) to ([yshift=-0.1em]add2.-
9
0);
\draw
[->,thick, out=70, in=-110]
([yshift=0.1em]c2
_
1.90) to ([yshift=-0.1em]add2.-
11
0);
\draw
[->,thick, out=90, in=-90]
([yshift=0.1em]c2
_
2.90) to ([yshift=-0.1em]add2.-90);
\draw
[->,thick, out=110, in=-70]
([yshift=0.1em]c2
_
3.90) to ([yshift=-0.1em]add2.-
9
0);
\draw
[->,thick, out=110, in=-70]
([yshift=0.1em]c2
_
3.90) to ([yshift=-0.1em]add2.-
7
0);
\draw
[->,thick, out=30, in=-130]
([yshift=0.1em]add1.90) to ([yshift=-0.1em]add3.-120);
...
...
@@ -67,20 +67,20 @@
\draw
[->,thick]
([yshift=0.1em]sigma.90) -- ([yshift=-0.1em]n2.-90);
\draw
[->,thick]
([yshift=0.1em]n2.90) -- node[right]
{$
\widetilde
{
\mathbi
{
h
}}_{
\textrm
{
t
}}$}
([yshift=2em]n2.90);
\draw
[decorate,decoration={brace, mirror},gray, thick]
([yshift=-2em]hh.-180) -- node[font=
\
script
size
,text=black,below]
{
前几个句子
}
([yshift=-2em]box2.0);
\draw
[decorate,decoration={brace, mirror},gray, thick]
([yshift=-2em]box3.-180) -- node[font=
\
script
size
,text=black,below]
{
当前句子
}
([yshift=-2em]box3.0);
\draw
[decorate,decoration={brace, mirror},gray, thick]
([yshift=-2em]hh.-180) -- node[font=
\
footnote
size
,text=black,below]
{
前几个句子
}
([yshift=-2em]box2.0);
\draw
[decorate,decoration={brace, mirror},gray, thick]
([yshift=-2em]box3.-180) -- node[font=
\
footnote
size
,text=black,below]
{
当前句子
}
([yshift=-2em]box3.0);
\draw
[->, thick, rounded corners=2pt]
([yshift=0.1em]add3.90) -- ([yshift=2.1em]add3.90) -- ([xshift=-0.1em]sigma.180);
%annotation
\node
[fill=red!30,rounded corners=1pt,inner sep=0pt,minimum size=1em]
(a1) at (2em,-4.5em)
{}
;
\node
[anchor=west,font=\footnotesize]
(w1) at ([xshift=0.4em]a1.east)
{
编码表示
}
;
%
\node[fill=red!30,rounded corners=1pt,inner sep=0pt,minimum size=1em] (a1) at (2em,-4.5em) {};
%
\node[anchor=west,font=\footnotesize] (w1) at ([xshift=0.4em]a1.east) {编码表示};
\node
[anchor=west,fill=orange!30,rounded corners=1pt,inner sep=0pt,minimum size=1em]
(a2) at ([xshift=2em]w1.east)
{}
;
\node
[anchor=west,font=\footnotesize]
(w2)at ([xshift=0.4em]a2.east)
{
层次注意力
}
;
%
\node[anchor=west,fill=orange!30,rounded corners=1pt,inner sep=0pt,minimum size=1em] (a2) at ([xshift=2em]w1.east) {};
%
\node[anchor=west,font=\footnotesize] (w2)at ([xshift=0.4em]a2.east) {层次注意力};
\node
[anchor=west,fill=blue!30,rounded corners=1pt,inner sep=0pt,minimum size=1em]
(a3) at ([xshift=2em]w2.east)
{}
;
\node
[anchor=west,font=\footnotesize]
at ([xshift=0.4em]a3.east)
{
融合上下文信息的编码表示
}
;
%
\node[anchor=west,fill=blue!30,rounded corners=1pt,inner sep=0pt,minimum size=1em] (a3) at ([xshift=2em]w2.east) {};
%
\node[anchor=west,font=\footnotesize] at ([xshift=0.4em]a3.east) {融合上下文信息的编码表示};
\end{tikzpicture}
...
...
Chapter17/Figures/figure-multiencoder.tex
查看文件 @
c4d60e0e
\definecolor
{
color1
}{
rgb
}{
1,0.725,0.058
}
\tikzstyle
{
coder
}
= [rectangle,thick,rounded corners,minimum width=2.8cm,minimum height=1.1cm,text centered,draw=black!
70,fill=blue!1
0,drop shadow]
\tikzstyle
{
attention
}
= [rectangle,thick,rounded corners,minimum width=2.6cm,minimum height=0.9cm,text centered,draw=black
!70,fill=green!25
,drop shadow]
\tikzstyle
{
coder
}
= [rectangle,thick,rounded corners,minimum width=2.8cm,minimum height=1.1cm,text centered,draw=black!
,fill=blue!3
0,drop shadow]
\tikzstyle
{
attention
}
= [rectangle,thick,rounded corners,minimum width=2.6cm,minimum height=0.9cm,text centered,draw=black
,fill=green!30!white
,drop shadow]
\begin{tikzpicture}
[node distance = 0,scale = 0.7]
\tikzstyle
{
every node
}
=[scale=0.7]
\node
(encoder
_
c)[coder]
{
\large
{
编码器
}}
;
\node
(encoder
_
s)[coder, right of = encoder
_
c, xshift=3.5cm, fill=red!
25
]
{
\large
{
编码器
}}
;
\node
(encoder
_
s)[coder, right of = encoder
_
c, xshift=3.5cm, fill=red!
30
]
{
\large
{
编码器
}}
;
\node
(h
_
pre)[above of = encoder
_
c, yshift=1.3cm,scale=1.3]
{${
\mathbi
{
h
}}_{
\rm
pre
}$}
;
\node
(h)[above of = encoder
_
s, yshift=1.3cm,scale=1.3]
{$
\mathbi
{
h
}$}
;
\node
(cir)[circle,very thick, right of = h, draw=black!90,minimum width=0.5cm,xshift=1.1cm]
{}
;
...
...
@@ -15,7 +15,7 @@
\node
(current)[below of = encoder
_
s, yshift=-1.3cm]
{
\large
{
当前句子
}}
;
\node
(attention
_
left)[attention, above of = encoder
_
c, xshift=2.4cm,yshift=3.1cm]
{
\large
{
注意力机制
}}
;
\node
(d)[above of = attention
_
left, yshift=1.1cm,scale=1.3]
{$
\mathbi
{
d
}$}
;
\node
(ground)[rectangle, thick, rounded corners, minimum width=5cm, minimum height=5.5cm, right of = encoder
_
s, xshift=4.4cm,yshift=2.2cm, draw=black
!70
, fill=gray!10]
{}
;
\node
(ground)[rectangle, thick, rounded corners, minimum width=5cm, minimum height=5.5cm, right of = encoder
_
s, xshift=4.4cm,yshift=2.2cm, draw=black, fill=gray!10]
{}
;
\node
(decoder)[above of = encoder
_
s, xshift=3.1cm]
{
\large
{
解码器
}}
;
\node
(attention
_
right)[attention, right of = attention
_
left, xshift=5.4cm,yshift=-0.4cm]
{
\large
{
注意力机制
}}
;
\node
(target)[right of = current, xshift=5.3cm]
{
\large
{
目标语言句子(位置
$
j
$
之前)
}}
;
...
...
Chapter17/Figures/figure-twodecoding.tex
查看文件 @
c4d60e0e
\tikzstyle
{
encoder
}
= [rectangle,thick,rounded corners,minimum width=4.3em,minimum height=2.2em,text centered,draw=black
!70,fill=red!25
]
\tikzstyle
{
decoder
}
= [rectangle,thick,rounded corners,minimum width=4.3em,minimum height=2.2em,text centered,draw=black
!70,fill=blue!1
5]
\tikzstyle
{
attention
}
= [rectangle,thick,rounded corners,minimum width=2.6cm,minimum height=2.2em,text centered,draw=black
!70
,fill=green!25]
\tikzstyle
{
encoder
}
= [rectangle,thick,rounded corners,minimum width=4.3em,minimum height=2.2em,text centered,draw=black
,fill=red!30
]
\tikzstyle
{
decoder
}
= [rectangle,thick,rounded corners,minimum width=4.3em,minimum height=2.2em,text centered,draw=black
,fill=blue!2
5]
\tikzstyle
{
attention
}
= [rectangle,thick,rounded corners,minimum width=2.6cm,minimum height=2.2em,text centered,draw=black,fill=green!25]
\begin{tikzpicture}
[node distance = 0,scale = 0.75]
\tikzstyle
{
every node
}
=[scale=0.75]
...
...
@@ -17,6 +17,7 @@
\node
(attention
_
below)[attention, right of = decoder
_
right, xshift=4.8cm]
{
\normalsize
{
注意力机制
}}
;
\node
(attention
_
above)[attention, above of = attention
_
below, yshift=1.6cm]
{
\normalsize
{
注意力机制
}}
;
\node
(ffn)[attention, above of = attention
_
above, yshift=1.6cm, fill=blue!8]
{
\normalsize
{
前馈神经网络
}}
;
\node
[right of = attention
_
above, xshift=2.35cm,yshift=2.5cm,scale=1.2]
{
\footnotesize
{
解码器
}}
;
\node
(n)[right of = attention
_
above, xshift=2.4cm,scale=1.5]
{$
\times
N
$}
;
\node
(text
_
2)[above of = ffn, yshift=1.9cm]
{
\normalsize
{
基于上下文的修正结果
}}
;
\node
(title
_
2)[right of = title
_
1, xshift=6.3cm]
{
\large\bfnew
{
二阶段翻译
}}
;
...
...
Chapter17/chapter17.tex
查看文件 @
c4d60e0e
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论