2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-19 11:38:05 +02:00

Update aggregation blocks

This commit is contained in:
Martin Thoma 2017-01-07 13:24:44 +01:00
parent ad1a3ead0c
commit fbca6983db
2 changed files with 3 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Before After
Before After

View file

@ -5,7 +5,6 @@
\usetikzlibrary{shapes.geometric,arrows,positioning} \usetikzlibrary{shapes.geometric,arrows,positioning}
\begin{document} \begin{document}
\newcommand{\filtersize}{3}
\begin{tikzpicture} \begin{tikzpicture}
\tikzstyle{conv-layer}=[draw,minimum width=3cm,minimum height=1cm] \tikzstyle{conv-layer}=[draw,minimum width=3cm,minimum height=1cm]
@ -22,21 +21,21 @@
% first path % first path
\node (rect11) at (-2.5,-1.5) [conv-layer] {4 @ $1 \times 1 \times 256$}; \node (rect11) at (-2.5,-1.5) [conv-layer] {4 @ $1 \times 1 \times 256$};
\node (rect12) at (-2.5,-3.0) [conv-layer] {4 @ $1 \times 1 \times 4$}; \node (rect12) at (-2.5,-3.0) [conv-layer] {4 @ $3 \times 3 \times 4$};
\draw[arrow] (input.south) -- (rect11.north); \draw[arrow] (input.south) -- (rect11.north);
\draw[arrow] (rect11.south) -- (rect12.north); \draw[arrow] (rect11.south) -- (rect12.north);
\draw[arrow] (rect12.south) -- (concatenate); \draw[arrow] (rect12.south) -- (concatenate);
% second path % second path
\node (rect21) at ( 1,-1.5) [conv-layer] {4 @ $1 \times 1 \times 256$}; \node (rect21) at ( 1,-1.5) [conv-layer] {4 @ $1 \times 1 \times 256$};
\node (rect22) at ( 1,-3.0) [conv-layer] {4 @ $1 \times 1 \times 4$}; \node (rect22) at ( 1,-3.0) [conv-layer] {4 @ $3 \times 3 \times 4$};
\draw[arrow] (input.south) -- (rect21.north); \draw[arrow] (input.south) -- (rect21.north);
\draw[arrow] (rect21.south) -- (rect22.north); \draw[arrow] (rect21.south) -- (rect22.north);
\draw[arrow] (rect22.south) -- (concatenate); \draw[arrow] (rect22.south) -- (concatenate);
% last path % last path
\node (rect31) at ( 5.8,-1.5) [conv-layer] {4 @ $1 \times 1 \times 256$}; \node (rect31) at ( 5.8,-1.5) [conv-layer] {4 @ $1 \times 1 \times 256$};
\node (rect32) at ( 5.8,-3.0) [conv-layer] {4 @ $1 \times 1 \times 4$}; \node (rect32) at ( 5.8,-3.0) [conv-layer] {4 @ $3 \times 3 \times 4$};
\draw[arrow] (input.south) -- (rect31.north); \draw[arrow] (input.south) -- (rect31.north);
\draw[arrow] (rect31.south) -- (rect32.north); \draw[arrow] (rect31.south) -- (rect32.north);
\draw[arrow] (rect32.south) -- (concatenate); \draw[arrow] (rect32.south) -- (concatenate);