43 lines
1.3 KiB
TeX
43 lines
1.3 KiB
TeX
\documentclass{standalone}
|
|
\usepackage{tikz}
|
|
|
|
\usetikzlibrary{graphs,quotes}
|
|
\tikzstyle{block} = [draw, rectangle]
|
|
\tikzstyle{sum} = [draw, fill=blue!20, circle, node distance=1cm]
|
|
\tikzstyle{input} = [coordinate]
|
|
\tikzstyle{output} = [coordinate]
|
|
\tikzstyle{pinstyle} = [pin edge={to-,thin,black}]
|
|
|
|
\begin{document}
|
|
% \tikz\graph[grow down=3em]
|
|
% {
|
|
% x [as=$\mathbf{x}$]
|
|
% ->[thick] wl1 [block,as=weight layer]
|
|
% ->[thick,"relu"] wl2 [block,as=weight layer]
|
|
% ->[thick] plus [as=$\bigoplus$]
|
|
% ->[thick,"relu"]
|
|
% empty [as=];
|
|
% x ->[thick,bend left=90,distance=5em,"$\mathbf{x}$"] plus;
|
|
% };
|
|
|
|
\begin{tikzpicture}
|
|
\node (start) at (0,0) {};
|
|
\node[draw] (wl1) at (0,-1) {$1 \times 1$, $64$};
|
|
\node[draw] (wl2) at (0,-2) {$3 \times 3$, $64$};
|
|
\node[draw] (wl3) at (0,-3) {$1 \times 1$, $256$};
|
|
\node (plus) at (0,-4) {$\bigoplus$};
|
|
\node (end) at (0,-4.75) {};
|
|
|
|
\draw[->,thick] (start) to node[near start,left] {$256$-d} (wl1);
|
|
\draw[->,thick] (wl1) to node[right] {relu} (wl2);
|
|
\draw[->,thick] (wl2) to node[right] {relu} (wl3);
|
|
\draw[->,thick] (wl3) to (plus);
|
|
\draw[->,thick] (plus) to node[right] {relu} (end);
|
|
\draw[->,thick] (0,-0.35) to[bend left=90,distance=5em] node[right,align=center] {identity} (plus);
|
|
\end{tikzpicture}
|
|
\end{document}
|
|
%%% Local Variables:
|
|
%%% mode: latex
|
|
%%% TeX-master: t
|
|
%%% End:
|