-
Notifications
You must be signed in to change notification settings - Fork 12
/
model_alexnet.tex
32 lines (32 loc) · 1007 Bytes
/
model_alexnet.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
% AlexNet
\begin{tikzpicture}[start chain=going below, node distance=12pt,
point/.append style={on chain, join=by {signal}},
layer/.append style={on chain, join=by {signal}},
]
\node[point] {Input Image};
\node[conv] {Conv 11x11/4, 96};
\node[activation] {ReLU};
\node[pool] {MaxPool 2x2/2};
% local contrast norm
\node[conv] {Conv 5x5, 256};
\node[activation] {ReLU};
% local contrast norm
\node[pool] {MaxPool 2x2/2};
\node[conv] {Conv 3x3, 384};
\node[activation] {ReLU};
\node[conv] {Conv 3x3, 384};
\node[activation] {ReLU};
\node[conv] {Conv 3x3, 256};
\node[activation] {ReLU};
\node[pool] {MaxPool 2x2/2};
\node[layer] {Flatten};
\node[fc] {FC 4096};
\node[activation] {ReLU};
\node[layer] {Dropout};
\node[fc] {FC 4096};
\node[activation] {ReLU};
\node[layer] {Dropout};
\node[fc] {FC 1000};
\node[softmax] {Softmax};
\node[point] {Classification Output};
\end{tikzpicture}