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
2e0f6692
Commit
2e0f6692
authored
Dec 26, 2020
by
单韦乔
Browse files
Options
Browse Files
Download
Plain Diff
合并分支 'shanweiqiao' 到 'caorunzhe'
Shanweiqiao 查看合并请求
!708
parents
46358819
f5e21a10
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
0 行增加
和
184 行删除
+0
-184
Chapter15/Figures/figure-activation-function-swish-structure-diagram.tex
+0
-37
Chapter15/Figures/figure-learning-of-local-structure-combination.png
+0
-0
Chapter15/Figures/figure-learning-of-local-structure-combination.tex
+0
-87
Chapter15/Figures/figure-whole-structure-and-internal-structure-in-rnn.tex
+0
-60
Chapter15/chapter15.tex
+0
-0
没有找到文件。
Chapter15/Figures/figure-activation-function-swish-structure-diagram.tex
deleted
100644 → 0
查看文件 @
46358819
%%% outline
%-------------------------------------------------------------------------
\begin{tikzpicture}
\tikzstyle
{
opt
}
=[draw,minimum height=2em,minimum width=4em,rounded corners=2pt,thick]
\node
[circle,minimum size=2em,draw,fill=red!20]
(x1) at (0,0)
{
\small\bfnew
{
X
}}
;
\node
[circle,minimum size=2em,draw,fill=red!20]
(x2) at (0,4em)
{
\small\bfnew
{
X
}}
;
\node
[circle,minimum size=2em,draw,fill=red!20]
(x3) at (0,-5em)
{
\small\bfnew
{
X
}}
;
\node
[anchor=west,opt,fill=yellow!20]
(unary1) at ([xshift=3em]x1.east)
{
\small\bfnew
{
Unary
}}
;
\node
[anchor=west,opt,fill=yellow!20]
(unary2) at ([xshift=3em]x2.east)
{
\small\bfnew
{
Unary
}}
;
\node
[opt,fill=blue!20]
(binary1) at (12em,2em)
{
\small\bfnew
{
Binary
}}
;
\node
[opt,fill=blue!20]
(binary2) at (25em,-1.5em)
{
\small\bfnew
{
Binary
}}
;
\node
[anchor=west,opt,fill=yellow!20]
(unary3) at ([xshift=3em]binary1.east)
{
\small\bfnew
{
Unary
}}
;
\node
[anchor=west,opt,fill=yellow!20]
(unary4) at ([xshift=16em]x3.east)
{
\small\bfnew
{
Unary
}}
;
\draw
[-latex,very thick]
(x1.0) -- (unary1.180);
\draw
[-latex,very thick]
(x2.0) -- (unary2.180);
\draw
[-latex,very thick]
(x3.0) -- (unary4.180);
\draw
[-latex,very thick]
(unary1.0) -- ([yshift=-0.2em]binary1.180);
\draw
[-latex,very thick]
(unary2.0) -- ([yshift=0.2em]binary1.180);
\draw
[-latex,very thick]
(binary1.0) -- (unary3.180);
\draw
[-latex,very thick]
(unary3.0) -- ([yshift=0.2em]binary2.180);
\draw
[-latex,very thick]
(unary4.0) -- ([yshift=-0.2em]binary2.180);
\begin{pgfonlayer}
{
background
}
\node
[draw=lightgray,fill=lightgray!50,rounded corners=2pt,inner sep=8pt][fit=(x2)(x1)(binary1)]
{}
;
\end{pgfonlayer}
\node
[anchor=south]
at ([yshift=1em]binary1.north)
{
\small\bfnew
{
Core Unit
}}
;
\end{tikzpicture}
Chapter15/Figures/figure-learning-of-local-structure-combination.png
deleted
100644 → 0
查看文件 @
46358819
303 KB
Chapter15/Figures/figure-learning-of-local-structure-combination.tex
deleted
100644 → 0
查看文件 @
46358819
%%% outline
%-------------------------------------------------------------------------
\begin{tikzpicture}
\tikzstyle
{
opt
}
=[minimum height=1em,minimum width=5em,rounded corners=2pt,thick]
\node
[opt]
(opt1
_
0) at (0,0)
{
固定操作
}
;
\node
[draw,anchor=south,opt,fill=green!20]
(opt1
_
1) at ([yshift=0.8em]opt1
_
0.north)
{
操作3
}
;
\node
[draw,anchor=south,opt,fill=cyan!20]
(opt1
_
2) at ([yshift=0.8em]opt1
_
1.north)
{
操作2
}
;
\node
[anchor=south,opt]
(opt1
_
3) at ([yshift=0.8em]opt1
_
2.north)
{
固定操作
}
;
\node
[draw,anchor=south,opt,fill=yellow!20]
(opt1
_
4) at ([yshift=0.8em]opt1
_
3.north)
{
操作4
}
;
\node
[anchor=south,opt]
(opt1
_
5) at ([yshift=0.8em]opt1
_
4.north)
{$
\cdots
$}
;
\node
[draw,anchor=south,opt,fill=blue!10]
(opt1
_
6) at ([yshift=0.8em]opt1
_
5.north)
{
操作1
}
;
\node
[anchor=south,opt]
(opt1
_
7) at ([yshift=0.8em]opt1
_
6.north)
{}
;
\node
[opt]
(opt2
_
0) at (3,0)
{
固定操作
}
;
\node
[draw,anchor=south,opt,fill=blue!10]
(opt2
_
1) at ([yshift=0.8em]opt2
_
0.north)
{
操作1
}
;
\node
[draw,anchor=south,opt,fill=green!20]
(opt2
_
2) at ([yshift=0.8em]opt2
_
1.north)
{
操作3
}
;
\node
[anchor=south,opt]
(opt2
_
3) at ([yshift=0.8em]opt2
_
2.north)
{
固定操作
}
;
\node
[draw,anchor=south,opt,fill=red!20]
(opt2
_
4) at ([yshift=0.8em]opt2
_
3.north)
{
操作5
}
;
\node
[anchor=south,opt]
(opt2
_
5) at ([yshift=0.8em]opt2
_
4.north)
{$
\cdots
$}
;
\node
[draw,anchor=south,opt,fill=cyan!20]
(opt2
_
6) at ([yshift=0.8em]opt2
_
5.north)
{
操作2
}
;
\node
[anchor=south,opt]
(opt2
_
7) at ([yshift=0.8em]opt2
_
6.north)
{}
;
\node
[opt]
(opt3
_
0) at (6,0)
{
固定操作
}
;
\node
[draw,anchor=south,opt,fill=yellow!20]
(opt3
_
1) at ([yshift=0.8em]opt3
_
0.north)
{
操作4
}
;
\node
[draw,anchor=south,opt,fill=cyan!20]
(opt3
_
2) at ([yshift=0.8em]opt3
_
1.north)
{
操作2
}
;
\node
[anchor=south,opt]
(opt3
_
3) at ([yshift=0.8em]opt3
_
2.north)
{
固定操作
}
;
\node
[draw,anchor=south,opt,fill=yellow!20]
(opt3
_
4) at ([yshift=0.8em]opt3
_
3.north)
{
操作4
}
;
\node
[anchor=south,opt]
(opt3
_
5) at ([yshift=0.8em]opt3
_
4.north)
{$
\cdots
$}
;
\node
[draw,anchor=south,opt,fill=red!20]
(opt3
_
6) at ([yshift=0.8em]opt3
_
5.north)
{
操作5
}
;
\node
[anchor=south,opt]
(opt3
_
7) at ([yshift=0.8em]opt3
_
6.north)
{}
;
\begin{pgfonlayer}
{
background
}
\node
[draw,fill=yellow!20,rounded corners=6pt,inner ysep=2.6em,inner xsep=2.6em]
[fit=(opt1
_
0) (opt3
_
7)](box4)
{}
;
\node
[draw,fill=gray!10,rounded corners=2pt,inner sep=8pt]
[fit=(opt1
_
0) (opt1
_
7)](box1)
{}
;
\node
[draw,fill=gray!10,rounded corners=2pt,inner sep=8pt]
[fit=(opt2
_
0) (opt2
_
7)](box2)
{}
;
\node
[draw,fill=gray!10,rounded corners=2pt,inner sep=8pt]
[fit=(opt3
_
0) (opt3
_
7)](box3)
{}
;
\end{pgfonlayer}
\draw
[->,thick]
(opt1
_
0) -- (opt1
_
1);
\draw
[->,thick]
(opt1
_
1) -- (opt1
_
2);
\draw
[->,thick]
(opt1
_
2) -- (opt1
_
3);
\draw
[->,thick]
(opt1
_
3) -- (opt1
_
4);
\draw
[->,thick]
(opt1
_
4) -- (opt1
_
5);
\draw
[->,thick]
(opt1
_
5) -- (opt1
_
6);
\draw
[->,thick]
(opt2
_
0) -- (opt2
_
1);
\draw
[->,thick]
(opt2
_
1) -- (opt2
_
2);
\draw
[->,thick]
(opt2
_
2) -- (opt2
_
3);
\draw
[->,thick]
(opt2
_
3) -- (opt2
_
4);
\draw
[->,thick]
(opt2
_
4) -- (opt2
_
5);
\draw
[->,thick]
(opt2
_
5) -- (opt2
_
6);
\draw
[->,thick]
(opt3
_
0) -- (opt3
_
1);
\draw
[->,thick]
(opt3
_
1) -- (opt3
_
2);
\draw
[->,thick]
(opt3
_
2) -- (opt3
_
3);
\draw
[->,thick]
(opt3
_
3) -- (opt3
_
4);
\draw
[->,thick]
(opt3
_
4) -- (opt3
_
5);
\draw
[->,thick]
(opt3
_
5) -- (opt3
_
6);
\node
[]
at ([xshift=-1.2em,yshift=0.2em]opt1
_
7)
{
\small\bfnew
{
分支1
}}
;
\node
[]
at ([xshift=-1.2em,yshift=0.2em]opt2
_
7)
{
\small\bfnew
{
分支2
}}
;
\node
[]
at ([xshift=-1.2em,yshift=0.2em]opt3
_
7)
{
\small\bfnew
{
分支3
}}
;
\node
[]
(input) at ([yshift=-5em]opt2
_
0)
{
\small\bfnew
{
输入
}}
;
\node
[]
(output) at ([yshift=5em]opt2
_
7)
{
\small\bfnew
{
输出
}}
;
\draw
[->,thick,out=140,in=-30]
(box4.-90) to (box1.-90);
\draw
[->,thick,out=40,in=-150]
(box4.-90) to (box3.-90);
\draw
[->,thick]
(box4.-90) -- (box2.-90);
\draw
[->,thick,out=50,in=-130]
(box1.90) to (box4.90);
\draw
[->,thick,out=130,in=-50]
(box3.90) to (box4.90);
\draw
[->,thick]
(box2.90) -- (box4.90);
\draw
[->,thick]
(input.90) -- (box4.-90);
\draw
[->,thick]
(box4.90) -- (output.-90);
\node
[]
at ([xshift=-2.8em,yshift=1.1em]box1.90)
{
\small\bfnew
{
模型结构
}}
;
\node
[]
at ([xshift=-0.8em]box4.0)
{$
\cdots
$}
;
\end{tikzpicture}
Chapter15/Figures/figure-whole-structure-and-internal-structure-in-rnn.tex
deleted
100644 → 0
查看文件 @
46358819
%%% outline
%-------------------------------------------------------------------------
\begin{tikzpicture}
[scale=0.8]
\tikzstyle
{
every node
}
=[scale=0.8]
\tikzstyle
{
node
}
=[draw,minimum height=1.4em,minimum width=2em,rounded corners=3pt,thick]
\node
[node]
(n1) at (0,0)
{}
;
\node
[node]
(n2) at (1.5,0)
{}
;
\node
[node]
(n3) at (3,0)
{}
;
\node
[node]
(n4) at (4.5,0)
{}
;
\node
[node]
(n5) at (1.5,-1.3)
{}
;
\node
[node]
(n6) at (3,-1.3)
{}
;
\node
[node]
(n7) at (2.25,-2.4)
{}
;
\node
[node]
(n8) at (3,1.3)
{}
;
\draw
[->,thick]
(n1.0) -- (n2.180);
\draw
[->,thick]
(n2.0) -- (n3.180);
\draw
[->,thick]
(n3.0) -- (n4.180);
\draw
[->,thick,out=60,in=180]
(n1.90) to (n8.180);
\draw
[->,thick,out=-10,in=90]
(n8.0) to (n4.90);
\draw
[->,thick,out=90,in=-90]
(n5.90) to (n3.-90);
\draw
[->,thick,out=90,in=-90]
(n6.90) to (n4.-90);
\draw
[->,thick,out=90,in=-90]
(n7.90) to (n5.-90);
\draw
[->,thick,out=90,in=-90]
(n7.90) to (n6.-90);
\node
[font=\huge]
(ht) at (-0.2,2.2)
{$
\mathbi
h
_
t
$}
;
\node
[draw,font=\huge,inner sep=0pt,minimum width=4em,minimum height=4em,very thick,rounded corners=2pt]
(ht-1) at (-3,0)
{$
\mathbi
h
_{
t
-
1
}$}
;
\node
[draw,font=\huge,inner sep=0pt,minimum width=4em,minimum height=4em,very thick,rounded corners=2pt]
(ht+1) at (7.5,0)
{$
\mathbi
h
_{
t
+
1
}$}
;
\node
[font=\huge]
(xt) at (2.25,-4.2)
{$
x
_
t
$}
;
\node
[font=\Huge]
at (9,0)
{$
\cdots
$}
;
\node
[font=\Huge]
at (-4.5,0)
{$
\cdots
$}
;
\node
[minimum width=3em,minimum height=2em,fill=red!20,rounded corners=6pt]
(b1) at (6,-3.8)
{}
;
\node
[]
(w1) at (7.8,-3.8)
{
\Large
整体框架
}
;
\node
[minimum width=3em,minimum height=2em,fill=yellow!30,rounded corners=6pt]
(b2) at (6,-4.8)
{}
;
\node
[]
(w2) at (7.8,-4.8)
{
\Large
内部结构
}
;
\begin{pgfonlayer}
{
background
}
\node
[draw,rounded corners=6pt,very thick,fill=yellow!30,minimum width=16em,minimum height=15em]
(box1) at (2.25,0)
{}
;
\node
[draw=ublue,very thick,drop shadow,inner sep=1.2em,fill=white,xshift=-0.1em]
[fit=(b1)(w2)]
{}
;
\draw
[fill=red!20,red!20,rounded corners=6pt]
([yshift=2.4em,xshift=1em]ht-1.east) -- ([yshift=2.4em,xshift=-0.1em]box1.west) -- ([xshift=-8em,xshift=-0.1em]box1.south) -- ([xshift=2em]box1.south) -- ([xshift=2em,yshift=-5em]box1.south) -- ([xshift=0em,yshift=-5em]box1.south) .. controls ([xshift=-12em,yshift=-5em]box1.south) and ([yshift=-2em]ht-1.east) ..([yshift=2.4em]ht-1.east) -- ([yshift=2.4em,xshift=1em]ht-1.east) ;
\end{pgfonlayer}
\draw
[->,very thick]
(ht-1.0) -- (box1.180);
\draw
[->,very thick]
(box1.0) -- (ht+1.180);
\draw
[->,very thick]
(ht-1.90) -- ([yshift=2em]ht-1.90);
\draw
[->,very thick]
(ht+1.90) -- ([yshift=2em]ht+1.90);
\draw
[->,very thick]
(box1.90) -- ([yshift=2em]box1.90);
\draw
[->,very thick]
([yshift=-2em]ht-1.-90) -- (ht-1.-90);
\draw
[->,very thick]
([yshift=-2em]ht+1.-90) -- (ht+1.-90);
\draw
[->,very thick]
([yshift=-2em]box1.-90) -- (box1.-90);
\end{tikzpicture}
Chapter15/chapter15.tex
查看文件 @
2e0f6692
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论