Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
Toy-MT-Introduction
概览
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
单韦乔
Toy-MT-Introduction
Commits
4a5d7b97
Commit
4a5d7b97
authored
Nov 21, 2019
by
Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update LSTM figure
parent
74c42c22
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
10 行增加
和
11 行删除
+10
-11
Section06-Neural-Machine-Translation/section06.tex
+10
-11
没有找到文件。
Section06-Neural-Machine-Translation/section06.tex
查看文件 @
4a5d7b97
...
@@ -1155,7 +1155,6 @@ NLP问题的隐含结构假设 & 无隐含结构假设,端到端学习 \\
...
@@ -1155,7 +1155,6 @@ NLP问题的隐含结构假设 & 无隐含结构假设,端到端学习 \\
\end{itemize}
\end{itemize}
%%% 图
%%% 图
\begin{center}
\begin{center}
\hspace*
{
-0.9cm
}
\begin{tikzpicture}
\begin{tikzpicture}
\setlength
{
\base
}{
0.6cm
}
\setlength
{
\base
}{
0.6cm
}
...
@@ -1173,7 +1172,7 @@ NLP问题的隐含结构假设 & 无隐含结构假设,端到端学习 \\
...
@@ -1173,7 +1172,7 @@ NLP问题的隐含结构假设 & 无隐含结构假设,端到端学习 \\
\coordinate
(aux22) at ([yshift=
\base
]aux12);
\coordinate
(aux22) at ([yshift=
\base
]aux12);
\node
[auxnode,label={-45:22}]
() at (aux22)
{}
;
\node
[auxnode,label={-45:22}]
() at (aux22)
{}
;
\coordinate
(aux21) at ([xshift=-
\base
]aux22);
\coordinate
(aux21) at ([xshift=-
2
\base
]aux22);
\node
[auxnode,label={-45:21}]
() at (aux21)
{}
;
\node
[auxnode,label={-45:21}]
() at (aux21)
{}
;
\coordinate
(aux23) at ([xshift=
\base
]aux22);
\coordinate
(aux23) at ([xshift=
\base
]aux22);
\node
[auxnode,label={-45:23}]
() at (aux23)
{}
;
\node
[auxnode,label={-45:23}]
() at (aux23)
{}
;
...
@@ -1187,7 +1186,7 @@ NLP问题的隐含结构假设 & 无隐含结构假设,端到端学习 \\
...
@@ -1187,7 +1186,7 @@ NLP问题的隐含结构假设 & 无隐含结构假设,端到端学习 \\
\node
[auxnode,label={-45:27}]
() at (aux27)
{}
;
\node
[auxnode,label={-45:27}]
() at (aux27)
{}
;
\coordinate
(aux28) at ([xshift=
\base
]aux27);
\coordinate
(aux28) at ([xshift=
\base
]aux27);
\node
[auxnode,label={-45:28}]
() at (aux28)
{}
;
\node
[auxnode,label={-45:28}]
() at (aux28)
{}
;
\coordinate
(aux29) at ([xshift=
\base
]aux28);
\coordinate
(aux29) at ([xshift=
2
\base
]aux28);
\node
[auxnode,label={-45:29}]
() at (aux29)
{}
;
\node
[auxnode,label={-45:29}]
() at (aux29)
{}
;
\coordinate
(aux33) at ([yshift=
\base
]aux23);
\coordinate
(aux33) at ([yshift=
\base
]aux23);
...
@@ -1293,15 +1292,15 @@ NLP问题的隐含结构假设 & 无隐含结构假设,端到端学习 \\
...
@@ -1293,15 +1292,15 @@ NLP问题的隐含结构假设 & 无隐含结构假设,端到端学习 \\
\end{scope}
\end{scope}
\begin{scope}
\begin{scope}
\node
[wordnode,anchor=south]
() at (aux21)
{$
h
_
t
$}
;
\node
[wordnode,anchor=south]
() at (
[xshift=0.5
\base
]
aux21)
{$
h
_
t
$}
;
\node
[wordnode,anchor=west]
() at (aux12)
{$
x
_
t
$}
;
\node
[wordnode,anchor=west]
() at (aux12)
{$
x
_
t
$}
;
\node
[wordnode,anchor=south]
() at (aux51)
{$
c
_
t
$}
;
\node
[wordnode,anchor=south]
() at (
[xshift=0.5
\base
]
aux51)
{$
c
_
t
$}
;
\visible
<3->
{
\visible
<3->
{
\node
[wordnode,anchor=south]
() at (aux59)
{$
c
_{
t
+
1
}$}
;
\node
[wordnode,anchor=south]
() at (
[xshift=-0.5
\base
]
aux59)
{$
c
_{
t
+
1
}$}
;
}
}
\visible
<4->
{
\visible
<4->
{
\node
[wordnode,anchor=east]
() at (aux68)
{$
h
_{
t
+
1
}$}
;
\node
[wordnode,anchor=east]
() at (aux68)
{$
h
_{
t
+
1
}$}
;
\node
[wordnode,anchor=south]
() at (aux29)
{$
h
_{
t
+
1
}$}
;
\node
[wordnode,anchor=south]
() at (
[xshift=-0.5
\base
]
aux29)
{$
h
_{
t
+
1
}$}
;
}
}
\end{scope}
\end{scope}
...
@@ -1312,19 +1311,19 @@ NLP问题的隐含结构假设 & 无隐含结构假设,端到端学习 \\
...
@@ -1312,19 +1311,19 @@ NLP问题的隐含结构假设 & 无隐含结构假设,端到端学习 \\
\begin{scope}
\begin{scope}
\visible
<1->
{
\visible
<1->
{
% forget gate formula
% forget gate formula
\node
[formulanode,anchor=
east,text width=3.4cm]
() at ([xshift=-0.5
\base
]aux2
1)
{
遗忘门
\\
$
f
_
t
=
\sigma
(
W
_
f
[
h
_
t,x
_
t
]+
b
_
f
)
$}
;
\node
[formulanode,anchor=
south east,text width=3.4cm]
() at ([shift=
{
(4
\base
,1.5
\base
)
}
]aux5
1)
{
遗忘门
\\
$
f
_
t
=
\sigma
(
W
_
f
[
h
_
t,x
_
t
]+
b
_
f
)
$}
;
}
}
\visible
<2->
{
\visible
<2->
{
% input gate formula
% input gate formula
\node
[formulanode,anchor=
east]
() at ([xshift=-0.5
\base
]aux5
1)
{
输入门
\\
$
i
_
t
=
\sigma
(
W
_
i
[
h
_
t,x
_
t
]+
b
_
i
)
$
\\
$
\hat
{
c
}_
t
=
\mathrm
{
tanh
}
(
W
_
c
[
h
_
t,x
_
t
]+
b
_
c
)
$}
;
\node
[formulanode,anchor=
north east]
() at ([shift=
{
(4
\base
,-1.5
\base
)
}
]aux2
1)
{
输入门
\\
$
i
_
t
=
\sigma
(
W
_
i
[
h
_
t,x
_
t
]+
b
_
i
)
$
\\
$
\hat
{
c
}_
t
=
\mathrm
{
tanh
}
(
W
_
c
[
h
_
t,x
_
t
]+
b
_
c
)
$}
;
}
}
\visible
<3->
{
\visible
<3->
{
% cell update formula
% cell update formula
\node
[formulanode,anchor=
west,text width=3.02cm]
() at ([xshift=0.5
\base
]aux59)
{
记忆更新
\\
$
c
_{
t
+
1
}
=
f
_
t
\cdot
c
_
t
+
i
_
t
\cdot
\hat
{
c
}_
t
$}
;
\node
[formulanode,anchor=
south west,text width=3.02cm]
() at ([shift=
{
(-4
\base
,1.5
\base
)
}
]aux59)
{
记忆更新
\\
$
c
_{
t
+
1
}
=
f
_
t
\cdot
c
_
t
+
i
_
t
\cdot
\hat
{
c
}_
t
$}
;
}
}
\visible
<4->
{
\visible
<4->
{
% output gate formula
% output gate formula
\node
[formulanode,anchor=
west]
() at ([xshift=0.5
\base
]aux29)
{
输出门
\\
$
o
_
t
=
\sigma
(
W
_
o
[
h
_
t,x
_
t
]+
b
_
o
)
$
\\
$
h
_{
t
+
1
}
=
o
_
t
\cdot
\mathrm
{
tanh
}
(
c
_{
t
+
1
}
)
$}
;
\node
[formulanode,anchor=
north west]
() at ([shift=
{
(-4
\base
,-1.5
\base
)
}
]aux29)
{
输出门
\\
$
o
_
t
=
\sigma
(
W
_
o
[
h
_
t,x
_
t
]+
b
_
o
)
$
\\
$
h
_{
t
+
1
}
=
o
_
t
\cdot
\mathrm
{
tanh
}
(
c
_{
t
+
1
}
)
$}
;
}
}
\end{scope}
\end{scope}
\end{tikzpicture}
\end{tikzpicture}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论