-
Notifications
You must be signed in to change notification settings - Fork 0
/
rnn.tex
178 lines (156 loc) · 4.39 KB
/
rnn.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
\documentclass[x11names,10pt]{beamer}
\usefonttheme{professionalfonts}
\usepackage[T1]{fontenc}
\usepackage{newpxtext}
\usepackage{newpxmath}
\usepackage{bm}
\usepackage{natbib}
\usepackage[absolute, overlay]{textpos} % showboxes to show boxes.
\usepackage{tikz}
\usepackage{wasysym}
% Fields.
\newcommand*{\Reals}{\mathbb{R}}
% Operators.
\renewcommand*{\O}{\mathcal{O}}
\renewcommand*{\P}{\mathrm{P}}
% Matrices.
\newcommand*{\I}{\mathbf{I}}
\newcommand*{\U}{\mathbf{U}}
\newcommand*{\V}{\mathbf{V}}
\newcommand*{\W}{\mathbf{W}}
% Vectors.
\renewcommand*{\b}{\mathbf{b}}
\renewcommand*{\c}{\mathbf{c}}
\newcommand*{\f}{\mathbf{f}}
\newcommand*{\g}{\mathbf{g}}
\newcommand*{\h}{\mathbf{h}}
\renewcommand*{\o}{\mathbf{o}}
\renewcommand*{\r}{\mathbf{r}}
\newcommand*{\s}{\mathbf{s}}
\newcommand*{\sh}{\hat{\s}}
\newcommand*{\st}{\tilde{\s}}
\newcommand*{\x}{\mathbf{x}}
\newcommand*{\y}{\mathbf{y}}
\newcommand*{\z}{\mathbf{z}}
\newcommand*{\one}{\mathbf{1}}
\newcommand*{\zero}{\mathbf{0}}
\newcommand*{\ETA}{\bm{\eta}}
\newcommand*{\THETA}{\bm{\theta}}
\newcommand*{\PHI}{\bm{\phi}}
% Scalars.
\newcommand*{\tauh}{\hat{\tau}}
\renewcommand*{\th}{\hat{t}}
% LaTeX things.
\renewcommand{\thefootnote}{\fnsymbol{footnote}}
% Other commands.
\newcommand{\bluelink}[2]{\href{#1}{\textcolor{blue}{#2}}}
\newcommand{\blueurl}[1]{\textcolor{blue}{\url{#1}}}
% Make a variant of \vdots without the top vertical space.
\makeatletter
\DeclareRobustCommand{\vvdots}{%
\vbox{
\baselineskip4\p@\lineskiplimit\z@
\kern-\p@
\hbox{.}\hbox{.}\hbox{.}
}
}
\makeatother
% Theme settings.
\usetheme{Frankfurt}
\usefonttheme{serif}
% Other Beamer settings.
\setbeamercovered{transparent}
\AtBeginSection[]{%
\begin{frame}{Outline}
\tableofcontents[currentsection]
\end{frame}
}
% Length settings.
% \geometry{papersize={17.0666666666666666667cm, 9.6cm}}
\setlength{\TPHorizModule}{1cm}
\setlength{\TPVertModule}{1cm}
% TikZ commands.
\usetikzlibrary{arrows.meta, positioning}
\tikzstyle{binary} = [
draw,
thick,
circle,
minimum width=4mm,
inner sep=0pt,
fill=green!20
]
\tikzstyle{block} = [minimum width=7mm, minimum height=7mm, thick, rectangle, rounded corners, font=\small, inner sep=2.5pt]
\tikzstyle{cell} = [draw, thick, rounded corners, fill=yellow!20]
\tikzstyle{data} = [draw, block, fill=yellow!20]
\tikzstyle{dense} = [lstm, fill=green!20]
\tikzstyle{filter} = [draw, block, fill=yellow!20]
\tikzstyle{function} = [draw, block, fill=red!20]
\tikzstyle{gate} = [unary, fill=red!20]
\tikzstyle{hmm} = [draw, fill=black!30, circle, minimum width=2mm, inner sep=0pt]
\tikzstyle{label} = [font=\footnotesize]
\tikzstyle{latent} = [draw, block, fill=green!20]
\tikzstyle{layer} = [draw, block, fill=green!20]
\tikzstyle{lstm} = [draw, block, fill=blue!20]
\tikzstyle{path} = [-Latex, thick]
\tikzstyle{plus} = [
binary,
append after command={%
[shorten >= \pgflinewidth, shorten <= \pgflinewidth]
(\tikzlastnode.north) edge (\tikzlastnode.south)
(\tikzlastnode.east) edge (\tikzlastnode.west)%
}
]
\tikzstyle{prod} = [
binary,
append after command={%
node [draw, circle, minimum width=1.5mm, inner sep=0pt]
at (\tikzlastnode.center) {}%
}
]
\tikzstyle{state} = [draw, block, fill=blue!20]
\tikzstyle{unary} = [
draw,
thick,
rectangle,
rounded corners,
minimum width=7mm,
minimum height=6mm,
fill=blue!20
]
\tikzstyle{word} = [text height=1.5ex, text depth=0.25ex]
\tikzstyle{wordmini} = [word, font=\footnotesize, inner sep=0pt]
% Figures.
\graphicspath{{figures/}}
% Title, author, date, classification, etc.
\title{Recurrent neural networks}
\author[Kevin K. Chen]{%
\texorpdfstring{%
Kevin K. Chen \\
\normalsize \bluelink{%
mailto:[email protected]%
}{%
\texttt{[email protected]}%
}%
}{%
Kevin K. Chen%
}%
}
\institute[IDA/CCRL]{Institute for Defense Analyses \\ Center for Communications Research - La Jolla}
\date{February 22, 2018}
% Bibliography commands.
\bibliographystyle{plainnat}
\setcitestyle{round}
\begin{document}
\include{sections/preamble}
\include{sections/overview}
\include{sections/connections}
\include{sections/input_output}
\include{sections/alternate}
\include{sections/examples}
\include{sections/conclusion}
\include{sections/references}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End: