figure-deep-vs-light.tex 2.07 KB
Newer Older
zengxin committed
1 2 3

\begin{tikzpicture}
	\tikzstyle{every node}=[scale=1.5]
zengxin committed
4
	\tikzstyle{unit} = [inner sep=0pt, minimum size=1em,draw,very thick]
zengxin committed
5
	\tikzstyle{vuale} = [inner sep=0pt,font=\tiny]
zengxin committed
6 7 8 9 10 11 12 13 14 15 16 17

	
	\begin{scope}
	\foreach \point in {0,1,2,3}{
	\node[unit] (l1_\point) at (0, 0+\point*1.5em){};
	\node[unit] (l2_\point) at (0, 8em+\point*1.5em){};
	
	\node[unit] (r1_\point) at (5em, 0+\point*1.5em){};
	\node[unit] (r2_\point) at (5em, 8em+\point*1.5em){};
	}
	
	\foreach \point in {1,2}{
zengxin committed
18 19 20 21
	\draw[line width=0.9pt, ugreen!80, -latex] (l\point_0.east) -- (r2_0.west);
	\draw[line width=0.9pt, orange!80, -latex] (l\point_1.east) -- (r2_1.west);
	\draw[line width=0.9pt, cyan!80, -latex] (l\point_2.east) -- (r2_2.west);
	\draw[line width=0.9pt, gray!80, -latex] (l\point_3.east) -- (r2_3.west);
zengxin committed
22 23
	}
	
曹润柘 committed
24 25 26 27
	\node[vuale] at (-1.5em, 1.9em) {$\mathbi{x}_2$};
	\node[vuale] at (-1.5em, 9.9em) {$\mathbi{x}_1$};
	\node[vuale] at (6.5em, 1.9em) {$\mathbi{z}_2$};
	\node[vuale] at (6.5em, 9.9em) {$\mathbi{z}_1$};
zengxin committed
28 29
	
	\node (t2) at (2.5em, -1em) {\large{$\cdots$}};
zengxin committed
30
	\node [anchor=north,font=\tiny,scale=1.1] at ([yshift=-0.2em]t2.south) {深度卷积};
zengxin committed
31 32 33 34 35 36 37 38 39 40 41 42
	\end{scope}

	\begin{scope}[xshift=4cm]
	\foreach \point in {0,1,2,3}{
	\node[unit] (l1_\point) at (0, 0+\point*1.5em){};
	\node[unit] (l2_\point) at (0, 8em+\point*1.5em){};
	
	\node[unit] (r1_\point) at (5em, 0+\point*1.5em){};
	\node[unit] (r2_\point) at (5em, 8em+\point*1.5em){};
	}
	
	\foreach \point in {1,2}{
zengxin committed
43 44 45 46
	\draw[line width=0.9pt, orange!80, -latex] (l\point_0.east) -- (r2_0.west);
	\draw[line width=0.9pt, cyan!80, -latex] (l\point_1.east) -- (r2_1.west);
	\draw[line width=0.9pt, orange!80, -latex] (l\point_2.east) -- (r2_2.west);
	\draw[line width=0.9pt, cyan!80, -latex] (l\point_3.east) -- (r2_3.west);
zengxin committed
47 48
	}
	
曹润柘 committed
49 50 51 52
	\node[vuale] at (-1.5em, 1.9em) {$\mathbi{x}_2$};
	\node[vuale] at (-1.5em, 9.9em) {$\mathbi{x}_1$};
	\node[vuale] at (6.5em, 1.9em) {$\mathbi{z}_2$};
	\node[vuale] at (6.5em, 9.9em) {$\mathbi{z}_1$};
zengxin committed
53 54
	
	\node (t2) at (2.5em, -1em) {\large{$\cdots$}};
zengxin committed
55
	\node [anchor=north,font=\tiny,scale=1.1] at ([yshift=-0.2em]t2.south) {轻量卷积};
zengxin committed
56 57 58
	\end{scope}
	
\end{tikzpicture}