Dataset Viewer
Auto-converted to Parquet
id
stringlengths
14
27
png
imagewidth (px)
2
6.38k
code
stringlengths
147
21.4k
example_0_combination_22
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; %transparent node to ease the arrow drawing \pic[right=12em of y1, draw=echoreg!0, fill=echoreg!0] (Y2) {cube={0.9/0.9/2/1}}; \node[right=12em of y1] (y3) {}; \pic[below right=1.1em and 13em of y1, fill=mymauve!30] (Y5) {cube={0.45/0.45/2/1}}; \pic[below right=1.1em and 10em of y1, fill=mymauve!30] (Y6) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 13em of y1, fill=mymauve!30] (Y4) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 10em of y1, fill=mymauve!30] (Y3) {cube={0.45/0.45/2/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em, xshift=-1em] {Conv.} (Y2-A); \color{black} \toggletrue{redraw} \toggletrue{redraw2} \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[] (i2) {\LARGE ${\bf input}$}; \node[above right=0.1em and 9em of y1] (z2) {\LARGE $\vec{o}_1$}; \node[below right=0em and 9em of y1] (z2) {\LARGE $\vec{o}_3$}; \node[above right=0.1em and 12em of y1] (z2) {\LARGE $\vec{o}_2$}; \node[below right=0em and 12em of y1] (z2) {\LARGE $\vec{o}_4$}; \end{tikzpicture} \end{document}
example_0_combination_19
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; %transparent node to ease the arrow drawing \pic[right=12em of y1, draw=echoreg!0, fill=echoreg!0] (Y2) {cube={0.9/0.9/2/1}}; \node[right=12em of y1] (y3) {}; \pic[below right=1.1em and 13em of y1, fill=mymauve!30] (Y5) {cube={0.45/0.45/2/1}}; \pic[below right=1.1em and 10em of y1, fill=mymauve!30] (Y6) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 13em of y1, fill=mymauve!30] (Y4) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 10em of y1, fill=mymauve!30] (Y3) {cube={0.45/0.45/2/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em, xshift=-1em] {Conv.} (Y2-A); \color{black} \toggletrue{redraw} \toggletrue{redraw2} \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[] (i2) {\LARGE ${\bf input}$}; \node[above right=0.1em and 9em of y1] (z2) {\LARGE $\vec{o}_1$}; \end{tikzpicture} \end{document}
example_0_combination_17
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; %transparent node to ease the arrow drawing \pic[right=12em of y1, draw=echoreg!0, fill=echoreg!0] (Y2) {cube={0.9/0.9/2/1}}; \node[right=12em of y1] (y3) {}; \pic[below right=1.1em and 13em of y1, fill=mymauve!30] (Y5) {cube={0.45/0.45/2/1}}; \pic[below right=1.1em and 10em of y1, fill=mymauve!30] (Y6) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 13em of y1, fill=mymauve!30] (Y4) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 10em of y1, fill=mymauve!30] (Y3) {cube={0.45/0.45/2/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em, xshift=-1em] {Conv.} (Y2-A); \color{black} \toggletrue{redraw} \toggletrue{redraw2} \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \end{tikzpicture} \end{document}
example_0_combination_10
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; %transparent node to ease the arrow drawing \pic[right=12em of y1, draw=echoreg!0, fill=echoreg!0] (Y2) {cube={0.9/0.9/2/1}}; \node[right=12em of y1] (y3) {}; \pic[below right=1.1em and 13em of y1, fill=mymauve!30] (Y5) {cube={0.45/0.45/2/1}}; \pic[below right=1.1em and 10em of y1, fill=mymauve!30] (Y6) {cube={0.45/0.45/2/1}}; \end{tikzpicture} \end{document}
example_0_combination_2
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \end{tikzpicture} \end{document}
example_0_combination_5
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \end{tikzpicture} \end{document}
example_0_combination_11
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; %transparent node to ease the arrow drawing \pic[right=12em of y1, draw=echoreg!0, fill=echoreg!0] (Y2) {cube={0.9/0.9/2/1}}; \node[right=12em of y1] (y3) {}; \pic[below right=1.1em and 13em of y1, fill=mymauve!30] (Y5) {cube={0.45/0.45/2/1}}; \pic[below right=1.1em and 10em of y1, fill=mymauve!30] (Y6) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 13em of y1, fill=mymauve!30] (Y4) {cube={0.45/0.45/2/1}}; \end{tikzpicture} \end{document}
example_0_combination_16
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; %transparent node to ease the arrow drawing \pic[right=12em of y1, draw=echoreg!0, fill=echoreg!0] (Y2) {cube={0.9/0.9/2/1}}; \node[right=12em of y1] (y3) {}; \pic[below right=1.1em and 13em of y1, fill=mymauve!30] (Y5) {cube={0.45/0.45/2/1}}; \pic[below right=1.1em and 10em of y1, fill=mymauve!30] (Y6) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 13em of y1, fill=mymauve!30] (Y4) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 10em of y1, fill=mymauve!30] (Y3) {cube={0.45/0.45/2/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em, xshift=-1em] {Conv.} (Y2-A); \color{black} \toggletrue{redraw} \toggletrue{redraw2} \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \end{tikzpicture} \end{document}
example_0_combination_18
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; %transparent node to ease the arrow drawing \pic[right=12em of y1, draw=echoreg!0, fill=echoreg!0] (Y2) {cube={0.9/0.9/2/1}}; \node[right=12em of y1] (y3) {}; \pic[below right=1.1em and 13em of y1, fill=mymauve!30] (Y5) {cube={0.45/0.45/2/1}}; \pic[below right=1.1em and 10em of y1, fill=mymauve!30] (Y6) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 13em of y1, fill=mymauve!30] (Y4) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 10em of y1, fill=mymauve!30] (Y3) {cube={0.45/0.45/2/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em, xshift=-1em] {Conv.} (Y2-A); \color{black} \toggletrue{redraw} \toggletrue{redraw2} \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[] (i2) {\LARGE ${\bf input}$}; \end{tikzpicture} \end{document}
example_0_combination_23
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; %transparent node to ease the arrow drawing \pic[right=12em of y1, draw=echoreg!0, fill=echoreg!0] (Y2) {cube={0.9/0.9/2/1}}; \node[right=12em of y1] (y3) {}; \pic[below right=1.1em and 13em of y1, fill=mymauve!30] (Y5) {cube={0.45/0.45/2/1}}; \pic[below right=1.1em and 10em of y1, fill=mymauve!30] (Y6) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 13em of y1, fill=mymauve!30] (Y4) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 10em of y1, fill=mymauve!30] (Y3) {cube={0.45/0.45/2/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em, xshift=-1em] {Conv.} (Y2-A); \color{black} \toggletrue{redraw} \toggletrue{redraw2} \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[] (i2) {\LARGE ${\bf input}$}; \node[above right=0.1em and 9em of y1] (z2) {\LARGE $\vec{o}_1$}; \node[below right=0em and 9em of y1] (z2) {\LARGE $\vec{o}_3$}; \node[above right=0.1em and 12em of y1] (z2) {\LARGE $\vec{o}_2$}; \node[below right=0em and 12em of y1] (z2) {\LARGE $\vec{o}_4$}; \end{tikzpicture} \end{document}
example_0_combination_4
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \end{tikzpicture} \end{document}
example_0_combination_3
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \end{tikzpicture} \end{document}
example_0_combination_9
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; %transparent node to ease the arrow drawing \pic[right=12em of y1, draw=echoreg!0, fill=echoreg!0] (Y2) {cube={0.9/0.9/2/1}}; \node[right=12em of y1] (y3) {}; \pic[below right=1.1em and 13em of y1, fill=mymauve!30] (Y5) {cube={0.45/0.45/2/1}}; \end{tikzpicture} \end{document}
example_0_combination_7
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; %transparent node to ease the arrow drawing \pic[right=12em of y1, draw=echoreg!0, fill=echoreg!0] (Y2) {cube={0.9/0.9/2/1}}; \end{tikzpicture} \end{document}
example_0_combination_15
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; %transparent node to ease the arrow drawing \pic[right=12em of y1, draw=echoreg!0, fill=echoreg!0] (Y2) {cube={0.9/0.9/2/1}}; \node[right=12em of y1] (y3) {}; \pic[below right=1.1em and 13em of y1, fill=mymauve!30] (Y5) {cube={0.45/0.45/2/1}}; \pic[below right=1.1em and 10em of y1, fill=mymauve!30] (Y6) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 13em of y1, fill=mymauve!30] (Y4) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 10em of y1, fill=mymauve!30] (Y3) {cube={0.45/0.45/2/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em, xshift=-1em] {Conv.} (Y2-A); \end{tikzpicture} \end{document}
example_0_combination_12
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; %transparent node to ease the arrow drawing \pic[right=12em of y1, draw=echoreg!0, fill=echoreg!0] (Y2) {cube={0.9/0.9/2/1}}; \node[right=12em of y1] (y3) {}; \pic[below right=1.1em and 13em of y1, fill=mymauve!30] (Y5) {cube={0.45/0.45/2/1}}; \pic[below right=1.1em and 10em of y1, fill=mymauve!30] (Y6) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 13em of y1, fill=mymauve!30] (Y4) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 10em of y1, fill=mymauve!30] (Y3) {cube={0.45/0.45/2/1}}; \end{tikzpicture} \end{document}
example_0_combination_20
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; %transparent node to ease the arrow drawing \pic[right=12em of y1, draw=echoreg!0, fill=echoreg!0] (Y2) {cube={0.9/0.9/2/1}}; \node[right=12em of y1] (y3) {}; \pic[below right=1.1em and 13em of y1, fill=mymauve!30] (Y5) {cube={0.45/0.45/2/1}}; \pic[below right=1.1em and 10em of y1, fill=mymauve!30] (Y6) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 13em of y1, fill=mymauve!30] (Y4) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 10em of y1, fill=mymauve!30] (Y3) {cube={0.45/0.45/2/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em, xshift=-1em] {Conv.} (Y2-A); \color{black} \toggletrue{redraw} \toggletrue{redraw2} \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[] (i2) {\LARGE ${\bf input}$}; \node[above right=0.1em and 9em of y1] (z2) {\LARGE $\vec{o}_1$}; \node[below right=0em and 9em of y1] (z2) {\LARGE $\vec{o}_3$}; \end{tikzpicture} \end{document}
example_0_combination_6
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \end{tikzpicture} \end{document}
example_0_combination_1
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \end{tikzpicture} \end{document}
example_0_combination_8
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; %transparent node to ease the arrow drawing \pic[right=12em of y1, draw=echoreg!0, fill=echoreg!0] (Y2) {cube={0.9/0.9/2/1}}; \node[right=12em of y1] (y3) {}; \end{tikzpicture} \end{document}
example_0_combination_21
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; %transparent node to ease the arrow drawing \pic[right=12em of y1, draw=echoreg!0, fill=echoreg!0] (Y2) {cube={0.9/0.9/2/1}}; \node[right=12em of y1] (y3) {}; \pic[below right=1.1em and 13em of y1, fill=mymauve!30] (Y5) {cube={0.45/0.45/2/1}}; \pic[below right=1.1em and 10em of y1, fill=mymauve!30] (Y6) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 13em of y1, fill=mymauve!30] (Y4) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 10em of y1, fill=mymauve!30] (Y3) {cube={0.45/0.45/2/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em, xshift=-1em] {Conv.} (Y2-A); \color{black} \toggletrue{redraw} \toggletrue{redraw2} \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[] (i2) {\LARGE ${\bf input}$}; \node[above right=0.1em and 9em of y1] (z2) {\LARGE $\vec{o}_1$}; \node[below right=0em and 9em of y1] (z2) {\LARGE $\vec{o}_3$}; \node[above right=0.1em and 12em of y1] (z2) {\LARGE $\vec{o}_2$}; \end{tikzpicture} \end{document}
example_0_combination_13
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; %transparent node to ease the arrow drawing \pic[right=12em of y1, draw=echoreg!0, fill=echoreg!0] (Y2) {cube={0.9/0.9/2/1}}; \node[right=12em of y1] (y3) {}; \pic[below right=1.1em and 13em of y1, fill=mymauve!30] (Y5) {cube={0.45/0.45/2/1}}; \pic[below right=1.1em and 10em of y1, fill=mymauve!30] (Y6) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 13em of y1, fill=mymauve!30] (Y4) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 10em of y1, fill=mymauve!30] (Y3) {cube={0.45/0.45/2/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} (Y-A); \end{tikzpicture} \end{document}
example_0_combination_14
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; %transparent node to ease the arrow drawing \pic[right=12em of y1, draw=echoreg!0, fill=echoreg!0] (Y2) {cube={0.9/0.9/2/1}}; \node[right=12em of y1] (y3) {}; \pic[below right=1.1em and 13em of y1, fill=mymauve!30] (Y5) {cube={0.45/0.45/2/1}}; \pic[below right=1.1em and 10em of y1, fill=mymauve!30] (Y6) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 13em of y1, fill=mymauve!30] (Y4) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 10em of y1, fill=mymauve!30] (Y3) {cube={0.45/0.45/2/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \end{tikzpicture} \end{document}
example_0_main
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; %transparent node to ease the arrow drawing \pic[right=12em of y1, draw=echoreg!0, fill=echoreg!0] (Y2) {cube={0.9/0.9/2/1}}; \node[right=12em of y1] (y3) {}; \pic[below right=1.1em and 13em of y1, fill=mymauve!30] (Y5) {cube={0.45/0.45/2/1}}; \pic[below right=1.1em and 10em of y1, fill=mymauve!30] (Y6) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 13em of y1, fill=mymauve!30] (Y4) {cube={0.45/0.45/2/1}}; \pic[above right=1.1em and 10em of y1, fill=mymauve!30] (Y3) {cube={0.45/0.45/2/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em, xshift=-1em] {Conv.} (Y2-A); \color{black} \toggletrue{redraw} \toggletrue{redraw2} \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[] (i2) {\LARGE ${\bf input}$}; \node[above right=0.1em and 9em of y1] (z2) {\LARGE $\vec{o}_1$}; \node[below right=0em and 9em of y1] (z2) {\LARGE $\vec{o}_3$}; \node[above right=0.1em and 12em of y1] (z2) {\LARGE $\vec{o}_2$}; \node[below right=0em and 12em of y1] (z2) {\LARGE $\vec{o}_4$}; \end{tikzpicture} \end{document}
example_1_combination_7
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \end{tikzpicture} \end{document}
example_1_combination_9
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \end{tikzpicture} \end{document}
example_1_combination_30
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \node[right=9em of y3] (z1) {}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \node[right=12em of z1] (z2) {}; \pic[right=12em of z1, fill=mymauve!50] (Z2) {cube={1.8/1.8/0.4/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} node[below] {ReLU} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em] {Conv.} node[below] {ReLU} (Y2-A); \draw [-stealth, ultra thick] (Y2-B) -- node[above] {Pool} (Y3-A); \draw [-stealth, ultra thick] (Y3-B) -- node[above] {Deconv.} node[below] {ReLU} (Z1-A); \draw [-stealth, ultra thick] (Z1-B) -- node[above] {Deconv.} node[below] {logistic} (Z2-A); \color{black} \toggletrue{redraw} \toggletrue{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \togglefalse{redraw2} \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \end{tikzpicture} \end{document}
example_1_combination_28
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \node[right=9em of y3] (z1) {}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \node[right=12em of z1] (z2) {}; \pic[right=12em of z1, fill=mymauve!50] (Z2) {cube={1.8/1.8/0.4/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} node[below] {ReLU} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em] {Conv.} node[below] {ReLU} (Y2-A); \draw [-stealth, ultra thick] (Y2-B) -- node[above] {Pool} (Y3-A); \draw [-stealth, ultra thick] (Y3-B) -- node[above] {Deconv.} node[below] {ReLU} (Z1-A); \draw [-stealth, ultra thick] (Z1-B) -- node[above] {Deconv.} node[below] {logistic} (Z2-A); \color{black} \toggletrue{redraw} \toggletrue{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \end{tikzpicture} \end{document}
example_1_combination_21
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \node[right=9em of y3] (z1) {}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \node[right=12em of z1] (z2) {}; \pic[right=12em of z1, fill=mymauve!50] (Z2) {cube={1.8/1.8/0.4/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} node[below] {ReLU} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em] {Conv.} node[below] {ReLU} (Y2-A); \end{tikzpicture} \end{document}
example_1_combination_26
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \node[right=9em of y3] (z1) {}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \node[right=12em of z1] (z2) {}; \pic[right=12em of z1, fill=mymauve!50] (Z2) {cube={1.8/1.8/0.4/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} node[below] {ReLU} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em] {Conv.} node[below] {ReLU} (Y2-A); \draw [-stealth, ultra thick] (Y2-B) -- node[above] {Pool} (Y3-A); \draw [-stealth, ultra thick] (Y3-B) -- node[above] {Deconv.} node[below] {ReLU} (Z1-A); \draw [-stealth, ultra thick] (Z1-B) -- node[above] {Deconv.} node[below] {logistic} (Z2-A); \color{black} \toggletrue{redraw} \toggletrue{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \end{tikzpicture} \end{document}
example_1_combination_13
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \end{tikzpicture} \end{document}
example_1_combination_14
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \end{tikzpicture} \end{document}
example_1_combination_31
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \node[right=9em of y3] (z1) {}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \node[right=12em of z1] (z2) {}; \pic[right=12em of z1, fill=mymauve!50] (Z2) {cube={1.8/1.8/0.4/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} node[below] {ReLU} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em] {Conv.} node[below] {ReLU} (Y2-A); \draw [-stealth, ultra thick] (Y2-B) -- node[above] {Pool} (Y3-A); \draw [-stealth, ultra thick] (Y3-B) -- node[above] {Deconv.} node[below] {ReLU} (Z1-A); \draw [-stealth, ultra thick] (Z1-B) -- node[above] {Deconv.} node[below] {logistic} (Z2-A); \color{black} \toggletrue{redraw} \toggletrue{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \togglefalse{redraw2} \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \toggletrue{redraw2} \node[] (i2) {\LARGE ${\bf X}$}; \end{tikzpicture} \end{document}
example_1_combination_8
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \end{tikzpicture} \end{document}
example_1_combination_6
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \end{tikzpicture} \end{document}
example_1_combination_1
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \end{tikzpicture} \end{document}
example_1_combination_15
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \node[right=9em of y3] (z1) {}; \end{tikzpicture} \end{document}
example_1_combination_12
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \end{tikzpicture} \end{document}
example_1_combination_27
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \node[right=9em of y3] (z1) {}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \node[right=12em of z1] (z2) {}; \pic[right=12em of z1, fill=mymauve!50] (Z2) {cube={1.8/1.8/0.4/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} node[below] {ReLU} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em] {Conv.} node[below] {ReLU} (Y2-A); \draw [-stealth, ultra thick] (Y2-B) -- node[above] {Pool} (Y3-A); \draw [-stealth, ultra thick] (Y3-B) -- node[above] {Deconv.} node[below] {ReLU} (Z1-A); \draw [-stealth, ultra thick] (Z1-B) -- node[above] {Deconv.} node[below] {logistic} (Z2-A); \color{black} \toggletrue{redraw} \toggletrue{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \end{tikzpicture} \end{document}
example_1_combination_20
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \node[right=9em of y3] (z1) {}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \node[right=12em of z1] (z2) {}; \pic[right=12em of z1, fill=mymauve!50] (Z2) {cube={1.8/1.8/0.4/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} node[below] {ReLU} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \end{tikzpicture} \end{document}
example_1_combination_29
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \node[right=9em of y3] (z1) {}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \node[right=12em of z1] (z2) {}; \pic[right=12em of z1, fill=mymauve!50] (Z2) {cube={1.8/1.8/0.4/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} node[below] {ReLU} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em] {Conv.} node[below] {ReLU} (Y2-A); \draw [-stealth, ultra thick] (Y2-B) -- node[above] {Pool} (Y3-A); \draw [-stealth, ultra thick] (Y3-B) -- node[above] {Deconv.} node[below] {ReLU} (Z1-A); \draw [-stealth, ultra thick] (Z1-B) -- node[above] {Deconv.} node[below] {logistic} (Z2-A); \color{black} \toggletrue{redraw} \toggletrue{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \end{tikzpicture} \end{document}
example_1_combination_18
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \node[right=9em of y3] (z1) {}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \node[right=12em of z1] (z2) {}; \pic[right=12em of z1, fill=mymauve!50] (Z2) {cube={1.8/1.8/0.4/1}}; \end{tikzpicture} \end{document}
example_1_combination_11
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \end{tikzpicture} \end{document}
example_1_combination_16
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \node[right=9em of y3] (z1) {}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \end{tikzpicture} \end{document}
example_1_combination_23
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \node[right=9em of y3] (z1) {}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \node[right=12em of z1] (z2) {}; \pic[right=12em of z1, fill=mymauve!50] (Z2) {cube={1.8/1.8/0.4/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} node[below] {ReLU} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em] {Conv.} node[below] {ReLU} (Y2-A); \draw [-stealth, ultra thick] (Y2-B) -- node[above] {Pool} (Y3-A); \draw [-stealth, ultra thick] (Y3-B) -- node[above] {Deconv.} node[below] {ReLU} (Z1-A); \end{tikzpicture} \end{document}
example_1_combination_24
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \node[right=9em of y3] (z1) {}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \node[right=12em of z1] (z2) {}; \pic[right=12em of z1, fill=mymauve!50] (Z2) {cube={1.8/1.8/0.4/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} node[below] {ReLU} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em] {Conv.} node[below] {ReLU} (Y2-A); \draw [-stealth, ultra thick] (Y2-B) -- node[above] {Pool} (Y3-A); \draw [-stealth, ultra thick] (Y3-B) -- node[above] {Deconv.} node[below] {ReLU} (Z1-A); \draw [-stealth, ultra thick] (Z1-B) -- node[above] {Deconv.} node[below] {logistic} (Z2-A); \end{tikzpicture} \end{document}
example_1_combination_32
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \node[right=9em of y3] (z1) {}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \node[right=12em of z1] (z2) {}; \pic[right=12em of z1, fill=mymauve!50] (Z2) {cube={1.8/1.8/0.4/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} node[below] {ReLU} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em] {Conv.} node[below] {ReLU} (Y2-A); \draw [-stealth, ultra thick] (Y2-B) -- node[above] {Pool} (Y3-A); \draw [-stealth, ultra thick] (Y3-B) -- node[above] {Deconv.} node[below] {ReLU} (Z1-A); \draw [-stealth, ultra thick] (Z1-B) -- node[above] {Deconv.} node[below] {logistic} (Z2-A); \color{black} \toggletrue{redraw} \toggletrue{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \togglefalse{redraw2} \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \toggletrue{redraw2} \node[] (i2) {\LARGE ${\bf X}$}; \node[right=9.25em of y2] (y3) {\LARGE ${\bf z}$}; \end{tikzpicture} \end{document}
example_1_combination_2
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \end{tikzpicture} \end{document}
example_1_combination_5
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \end{tikzpicture} \end{document}
example_1_combination_25
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \node[right=9em of y3] (z1) {}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \node[right=12em of z1] (z2) {}; \pic[right=12em of z1, fill=mymauve!50] (Z2) {cube={1.8/1.8/0.4/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} node[below] {ReLU} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em] {Conv.} node[below] {ReLU} (Y2-A); \draw [-stealth, ultra thick] (Y2-B) -- node[above] {Pool} (Y3-A); \draw [-stealth, ultra thick] (Y3-B) -- node[above] {Deconv.} node[below] {ReLU} (Z1-A); \draw [-stealth, ultra thick] (Z1-B) -- node[above] {Deconv.} node[below] {logistic} (Z2-A); \color{black} \toggletrue{redraw} \toggletrue{redraw2} \node[right=16em of i2] (y) {}; \end{tikzpicture} \end{document}
example_1_combination_22
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \node[right=9em of y3] (z1) {}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \node[right=12em of z1] (z2) {}; \pic[right=12em of z1, fill=mymauve!50] (Z2) {cube={1.8/1.8/0.4/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} node[below] {ReLU} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em] {Conv.} node[below] {ReLU} (Y2-A); \draw [-stealth, ultra thick] (Y2-B) -- node[above] {Pool} (Y3-A); \end{tikzpicture} \end{document}
example_1_combination_17
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \node[right=9em of y3] (z1) {}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \node[right=12em of z1] (z2) {}; \end{tikzpicture} \end{document}
example_1_combination_10
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \end{tikzpicture} \end{document}
example_1_combination_19
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \node[right=9em of y3] (z1) {}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \node[right=12em of z1] (z2) {}; \pic[right=12em of z1, fill=mymauve!50] (Z2) {cube={1.8/1.8/0.4/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} node[below] {ReLU} (Y-A); \end{tikzpicture} \end{document}
example_1_combination_4
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \end{tikzpicture} \end{document}
example_1_combination_3
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \end{tikzpicture} \end{document}
example_1_combination_33
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \node[right=9em of y3] (z1) {}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \node[right=12em of z1] (z2) {}; \pic[right=12em of z1, fill=mymauve!50] (Z2) {cube={1.8/1.8/0.4/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} node[below] {ReLU} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em] {Conv.} node[below] {ReLU} (Y2-A); \draw [-stealth, ultra thick] (Y2-B) -- node[above] {Pool} (Y3-A); \draw [-stealth, ultra thick] (Y3-B) -- node[above] {Deconv.} node[below] {ReLU} (Z1-A); \draw [-stealth, ultra thick] (Z1-B) -- node[above] {Deconv.} node[below] {logistic} (Z2-A); \color{black} \toggletrue{redraw} \toggletrue{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \togglefalse{redraw2} \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \toggletrue{redraw2} \node[] (i2) {\LARGE ${\bf X}$}; \node[right=9.25em of y2] (y3) {\LARGE ${\bf z}$}; \node[right=11em of z1] (z2) {\LARGE ${\bf X}'$}; \end{tikzpicture} \end{document}
example_1_combination_34
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \node[right=9em of y3] (z1) {}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \node[right=12em of z1] (z2) {}; \pic[right=12em of z1, fill=mymauve!50] (Z2) {cube={1.8/1.8/0.4/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} node[below] {ReLU} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em] {Conv.} node[below] {ReLU} (Y2-A); \draw [-stealth, ultra thick] (Y2-B) -- node[above] {Pool} (Y3-A); \draw [-stealth, ultra thick] (Y3-B) -- node[above] {Deconv.} node[below] {ReLU} (Z1-A); \draw [-stealth, ultra thick] (Z1-B) -- node[above] {Deconv.} node[below] {logistic} (Z2-A); \color{black} \toggletrue{redraw} \toggletrue{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \togglefalse{redraw2} \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \toggletrue{redraw2} \node[] (i2) {\LARGE ${\bf X}$}; \node[right=9.25em of y2] (y3) {\LARGE ${\bf z}$}; \node[right=11em of z1] (z2) {\LARGE ${\bf X}'$}; \end{tikzpicture} \end{document}
example_1_main
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning} \definecolor{echoreg}{HTML}{2cb1e1} \definecolor{olivegreen}{rgb}{0,0.6,0} \definecolor{mymauve}{rgb}{0.58,0,0.82} \usepackage{etoolbox} \newtoggle{redraw} \newtoggle{redraw2} \tikzset{% pics/cube/.style args={#1/#2/#3/#4}{code={% \begin{scope}[line width=#4mm] \begin{scope} \clip (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (#1,-#2,0) -- (#1,#2,0) -- (-#1,#2,0) -- cycle; \end{scope} \iftoggle{redraw}{% }{% \begin{scope} \clip (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \filldraw (-#1,-#2,0) -- (-#1-#3,-#2,-#3) -- (-#1-#3,#2,-#3) -- (-#1,#2,0) -- cycle; \end{scope} } \iftoggle{redraw2}{% }{ \begin{scope} \clip (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \filldraw (-#1,#2,0) -- (-#1-#3,#2,-#3) -- (#1-#3,#2,-#3) -- (#1,#2,0) -- cycle; \end{scope} } \node[inner sep=0] (-A) at (-#1-#3*0.5, 0, -#3*0.5) {}; \node[inner sep=0] (-B) at (#1-#3*0.5, 0, -#3*0.5) {}; \coordinate (-V) at (#1, #2); \coordinate (-W) at (#1, -#2); \end{scope} }}} \begin{document} \begin{tikzpicture} \node (1) [draw, dashed, minimum height=15em, minimum width=62em, xshift=24em, fill=olivegreen, fill opacity=0.2, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 1] {{\emph{encoder}}}; \node (2) [draw, dashed, minimum height=14em, fill = red, fill opacity=0.2,minimum width=35em, xshift=63.5em, very thick, rectangle, rounded corners] {}; \node (la1) [below=0em of 2] {{\emph{decoder}}}; \node[] (i2) {}; \pic[fill=green!50] (I2) {cube={1.8/1.8/0.4/1}}; \togglefalse{redraw} \togglefalse{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \node[right=12em of y] (y1) {}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \node[right=12em of y1] (y2) {}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \node[right=10em of y2] (y3) {}; \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \node[right=9em of y3] (z1) {}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \node[right=12em of z1] (z2) {}; \pic[right=12em of z1, fill=mymauve!50] (Z2) {cube={1.8/1.8/0.4/1}}; \draw [-stealth, ultra thick] (I2-B) -- node[above] {Conv.} node[below] {ReLU} (Y-A); \draw [-stealth, ultra thick] (Y-B) -- node[above] {Pool} (Y1-A); \draw [-stealth, ultra thick] (Y1-B) -- node[above=0.3em, inner sep=0.1em] {Conv.} node[below] {ReLU} (Y2-A); \draw [-stealth, ultra thick] (Y2-B) -- node[above] {Pool} (Y3-A); \draw [-stealth, ultra thick] (Y3-B) -- node[above] {Deconv.} node[below] {ReLU} (Z1-A); \draw [-stealth, ultra thick] (Z1-B) -- node[above] {Deconv.} node[below] {logistic} (Z2-A); \color{black} \toggletrue{redraw} \toggletrue{redraw2} \node[right=16em of i2] (y) {}; \pic[right=16em of i2, fill=echoreg!50] (Y) {cube={1.8/1.8/1/1}}; \pic[right=12em of y, fill=red!50] (Y1) {cube={0.9/0.9/1/1}}; \pic[right=12em of y1, fill=echoreg!50] (Y2) {cube={0.9/0.9/2/1}}; \pic[right=9em of y3, fill=mymauve!50] (Z1) {cube={0.9/0.9/1/1}}; \togglefalse{redraw2} \pic[right=10em of y2, fill=red!50] (Y3) {cube={0.45/0.45/2/1}}; \toggletrue{redraw2} \node[] (i2) {\LARGE ${\bf X}$}; \node[right=9.25em of y2] (y3) {\LARGE ${\bf z}$}; \node[right=11em of z1] (z2) {\LARGE ${\bf X}'$}; \end{tikzpicture} \end{document}
example_2_combination_9
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}[font=\tt] \node (T) at (0, 0) {ACAACG}; \node[below=0.5mm of T] (c1) {$T$}; \node[align=center] (tbl1) at (2.7, 0) {\textcolor{red}{AACG}AC\\\textcolor{red}{ACAACG}\\\textcolor{red}{ACG}ACA\\\textcolor{red}{CAACG}A\\\textcolor{red}{CG}ACAA\\\textcolor{red}{G}ACAAC}; \node[align=center] (tbl2) at (5.4, 0) {AACGA\textcolor{red}{C}\\\textcolor{red}{ACAACG}\\ACGAC\textcolor{red}{A}\\CAACG\textcolor{red}{A}\\CGACA\textcolor{red}{A}\\GACAA\textcolor{red}{C}}; \node[align=left] (BWT) at (8.6, 0) {(CGAAAC, 2)}; \node[below=0.5mm of BWT] (c2) {$BWT(T)$}; \draw[-stealth, very thick] (T) -- (tbl1); \draw[-stealth, very thick] (tbl1) -- (tbl2); \draw[-stealth, very thick] (tbl2) -- (BWT); \end{tikzpicture} \end{document}
example_2_combination_7
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}[font=\tt] \node (T) at (0, 0) {ACAACG}; \node[below=0.5mm of T] (c1) {$T$}; \node[align=center] (tbl1) at (2.7, 0) {\textcolor{red}{AACG}AC\\\textcolor{red}{ACAACG}\\\textcolor{red}{ACG}ACA\\\textcolor{red}{CAACG}A\\\textcolor{red}{CG}ACAA\\\textcolor{red}{G}ACAAC}; \node[align=center] (tbl2) at (5.4, 0) {AACGA\textcolor{red}{C}\\\textcolor{red}{ACAACG}\\ACGAC\textcolor{red}{A}\\CAACG\textcolor{red}{A}\\CGACA\textcolor{red}{A}\\GACAA\textcolor{red}{C}}; \node[align=left] (BWT) at (8.6, 0) {(CGAAAC, 2)}; \node[below=0.5mm of BWT] (c2) {$BWT(T)$}; \draw[-stealth, very thick] (T) -- (tbl1); \end{tikzpicture} \end{document}
example_2_combination_1
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}[font=\tt] \node (T) at (0, 0) {ACAACG}; \end{tikzpicture} \end{document}
example_2_combination_6
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}[font=\tt] \node (T) at (0, 0) {ACAACG}; \node[below=0.5mm of T] (c1) {$T$}; \node[align=center] (tbl1) at (2.7, 0) {\textcolor{red}{AACG}AC\\\textcolor{red}{ACAACG}\\\textcolor{red}{ACG}ACA\\\textcolor{red}{CAACG}A\\\textcolor{red}{CG}ACAA\\\textcolor{red}{G}ACAAC}; \node[align=center] (tbl2) at (5.4, 0) {AACGA\textcolor{red}{C}\\\textcolor{red}{ACAACG}\\ACGAC\textcolor{red}{A}\\CAACG\textcolor{red}{A}\\CGACA\textcolor{red}{A}\\GACAA\textcolor{red}{C}}; \node[align=left] (BWT) at (8.6, 0) {(CGAAAC, 2)}; \node[below=0.5mm of BWT] (c2) {$BWT(T)$}; \end{tikzpicture} \end{document}
example_2_combination_8
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}[font=\tt] \node (T) at (0, 0) {ACAACG}; \node[below=0.5mm of T] (c1) {$T$}; \node[align=center] (tbl1) at (2.7, 0) {\textcolor{red}{AACG}AC\\\textcolor{red}{ACAACG}\\\textcolor{red}{ACG}ACA\\\textcolor{red}{CAACG}A\\\textcolor{red}{CG}ACAA\\\textcolor{red}{G}ACAAC}; \node[align=center] (tbl2) at (5.4, 0) {AACGA\textcolor{red}{C}\\\textcolor{red}{ACAACG}\\ACGAC\textcolor{red}{A}\\CAACG\textcolor{red}{A}\\CGACA\textcolor{red}{A}\\GACAA\textcolor{red}{C}}; \node[align=left] (BWT) at (8.6, 0) {(CGAAAC, 2)}; \node[below=0.5mm of BWT] (c2) {$BWT(T)$}; \draw[-stealth, very thick] (T) -- (tbl1); \draw[-stealth, very thick] (tbl1) -- (tbl2); \end{tikzpicture} \end{document}
example_2_combination_5
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}[font=\tt] \node (T) at (0, 0) {ACAACG}; \node[below=0.5mm of T] (c1) {$T$}; \node[align=center] (tbl1) at (2.7, 0) {\textcolor{red}{AACG}AC\\\textcolor{red}{ACAACG}\\\textcolor{red}{ACG}ACA\\\textcolor{red}{CAACG}A\\\textcolor{red}{CG}ACAA\\\textcolor{red}{G}ACAAC}; \node[align=center] (tbl2) at (5.4, 0) {AACGA\textcolor{red}{C}\\\textcolor{red}{ACAACG}\\ACGAC\textcolor{red}{A}\\CAACG\textcolor{red}{A}\\CGACA\textcolor{red}{A}\\GACAA\textcolor{red}{C}}; \node[align=left] (BWT) at (8.6, 0) {(CGAAAC, 2)}; \end{tikzpicture} \end{document}
example_2_combination_2
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}[font=\tt] \node (T) at (0, 0) {ACAACG}; \node[below=0.5mm of T] (c1) {$T$}; \end{tikzpicture} \end{document}
example_2_combination_3
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}[font=\tt] \node (T) at (0, 0) {ACAACG}; \node[below=0.5mm of T] (c1) {$T$}; \node[align=center] (tbl1) at (2.7, 0) {\textcolor{red}{AACG}AC\\\textcolor{red}{ACAACG}\\\textcolor{red}{ACG}ACA\\\textcolor{red}{CAACG}A\\\textcolor{red}{CG}ACAA\\\textcolor{red}{G}ACAAC}; \end{tikzpicture} \end{document}
example_2_combination_4
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}[font=\tt] \node (T) at (0, 0) {ACAACG}; \node[below=0.5mm of T] (c1) {$T$}; \node[align=center] (tbl1) at (2.7, 0) {\textcolor{red}{AACG}AC\\\textcolor{red}{ACAACG}\\\textcolor{red}{ACG}ACA\\\textcolor{red}{CAACG}A\\\textcolor{red}{CG}ACAA\\\textcolor{red}{G}ACAAC}; \node[align=center] (tbl2) at (5.4, 0) {AACGA\textcolor{red}{C}\\\textcolor{red}{ACAACG}\\ACGAC\textcolor{red}{A}\\CAACG\textcolor{red}{A}\\CGACA\textcolor{red}{A}\\GACAA\textcolor{red}{C}}; \end{tikzpicture} \end{document}
example_2_main
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}[font=\tt] \node (T) at (0, 0) {ACAACG}; \node[below=0.5mm of T] (c1) {$T$}; \node[align=center] (tbl1) at (2.7, 0) {\textcolor{red}{AACG}AC\\\textcolor{red}{ACAACG}\\\textcolor{red}{ACG}ACA\\\textcolor{red}{CAACG}A\\\textcolor{red}{CG}ACAA\\\textcolor{red}{G}ACAAC}; \node[align=center] (tbl2) at (5.4, 0) {AACGA\textcolor{red}{C}\\\textcolor{red}{ACAACG}\\ACGAC\textcolor{red}{A}\\CAACG\textcolor{red}{A}\\CGACA\textcolor{red}{A}\\GACAA\textcolor{red}{C}}; \node[align=left] (BWT) at (8.6, 0) {(CGAAAC, 2)}; \node[below=0.5mm of BWT] (c2) {$BWT(T)$}; \draw[-stealth, very thick] (T) -- (tbl1); \draw[-stealth, very thick] (tbl1) -- (tbl2); \draw[-stealth, very thick] (tbl2) -- (BWT); \end{tikzpicture} \end{document}
example_3_combination_7
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows, positioning} \tikzstyle{block} = [rectangle, draw, fill=blue!20, text width=5em, text centered, rounded corners, minimum height=4em] \tikzstyle{line} = [draw, -latex'] \definecolor{mygreen}{rgb}{0,0.6,0} \definecolor{echodrk}{HTML}{0099cc} \begin{document} \begin{tikzpicture}[node distance=4cm, auto] \node [block, color=red, fill=white, text width=6.5em] (if) {{\huge \bf IF}\\{\scriptsize Instruction fetch}}; \node [block, color=mygreen, fill=white, text width=6.5em, right of=if] (dc) {{\huge \bf DC}\\{\scriptsize Decode}}; \node [block, color=echodrk, fill=white, text width=6.5em, right of=dc] (ex) {{\huge \bf EX}\\{\scriptsize Execute}}; \node [block, color=black, fill=white, text width=6.5em, below = 0.5cm of dc] (intr) {{\huge \bf IRQ}\\{\scriptsize Handle interrupts}}; \path [line] (if) -- (dc); \path [line] (dc) -- (ex); \path [line] (ex) edge [bend left] (intr); \end{tikzpicture} \end{document}
example_3_combination_8
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows, positioning} \tikzstyle{block} = [rectangle, draw, fill=blue!20, text width=5em, text centered, rounded corners, minimum height=4em] \tikzstyle{line} = [draw, -latex'] \definecolor{mygreen}{rgb}{0,0.6,0} \definecolor{echodrk}{HTML}{0099cc} \begin{document} \begin{tikzpicture}[node distance=4cm, auto] \node [block, color=red, fill=white, text width=6.5em] (if) {{\huge \bf IF}\\{\scriptsize Instruction fetch}}; \node [block, color=mygreen, fill=white, text width=6.5em, right of=if] (dc) {{\huge \bf DC}\\{\scriptsize Decode}}; \node [block, color=echodrk, fill=white, text width=6.5em, right of=dc] (ex) {{\huge \bf EX}\\{\scriptsize Execute}}; \node [block, color=black, fill=white, text width=6.5em, below = 0.5cm of dc] (intr) {{\huge \bf IRQ}\\{\scriptsize Handle interrupts}}; \path [line] (if) -- (dc); \path [line] (dc) -- (ex); \path [line] (ex) edge [bend left] (intr); \path [line] (intr) edge [bend left] (if); \end{tikzpicture} \end{document}
example_3_combination_6
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows, positioning} \tikzstyle{block} = [rectangle, draw, fill=blue!20, text width=5em, text centered, rounded corners, minimum height=4em] \tikzstyle{line} = [draw, -latex'] \definecolor{mygreen}{rgb}{0,0.6,0} \definecolor{echodrk}{HTML}{0099cc} \begin{document} \begin{tikzpicture}[node distance=4cm, auto] \node [block, color=red, fill=white, text width=6.5em] (if) {{\huge \bf IF}\\{\scriptsize Instruction fetch}}; \node [block, color=mygreen, fill=white, text width=6.5em, right of=if] (dc) {{\huge \bf DC}\\{\scriptsize Decode}}; \node [block, color=echodrk, fill=white, text width=6.5em, right of=dc] (ex) {{\huge \bf EX}\\{\scriptsize Execute}}; \node [block, color=black, fill=white, text width=6.5em, below = 0.5cm of dc] (intr) {{\huge \bf IRQ}\\{\scriptsize Handle interrupts}}; \path [line] (if) -- (dc); \path [line] (dc) -- (ex); \end{tikzpicture} \end{document}
example_3_combination_1
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows, positioning} \tikzstyle{block} = [rectangle, draw, fill=blue!20, text width=5em, text centered, rounded corners, minimum height=4em] \tikzstyle{line} = [draw, -latex'] \definecolor{mygreen}{rgb}{0,0.6,0} \definecolor{echodrk}{HTML}{0099cc} \begin{document} \begin{tikzpicture}[node distance=4cm, auto] \node [block, color=red, fill=white, text width=6.5em] (if) {{\huge \bf IF}\\{\scriptsize Instruction fetch}}; \end{tikzpicture} \end{document}
example_3_combination_2
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows, positioning} \tikzstyle{block} = [rectangle, draw, fill=blue!20, text width=5em, text centered, rounded corners, minimum height=4em] \tikzstyle{line} = [draw, -latex'] \definecolor{mygreen}{rgb}{0,0.6,0} \definecolor{echodrk}{HTML}{0099cc} \begin{document} \begin{tikzpicture}[node distance=4cm, auto] \node [block, color=red, fill=white, text width=6.5em] (if) {{\huge \bf IF}\\{\scriptsize Instruction fetch}}; \node [block, color=mygreen, fill=white, text width=6.5em, right of=if] (dc) {{\huge \bf DC}\\{\scriptsize Decode}}; \end{tikzpicture} \end{document}
example_3_combination_5
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows, positioning} \tikzstyle{block} = [rectangle, draw, fill=blue!20, text width=5em, text centered, rounded corners, minimum height=4em] \tikzstyle{line} = [draw, -latex'] \definecolor{mygreen}{rgb}{0,0.6,0} \definecolor{echodrk}{HTML}{0099cc} \begin{document} \begin{tikzpicture}[node distance=4cm, auto] \node [block, color=red, fill=white, text width=6.5em] (if) {{\huge \bf IF}\\{\scriptsize Instruction fetch}}; \node [block, color=mygreen, fill=white, text width=6.5em, right of=if] (dc) {{\huge \bf DC}\\{\scriptsize Decode}}; \node [block, color=echodrk, fill=white, text width=6.5em, right of=dc] (ex) {{\huge \bf EX}\\{\scriptsize Execute}}; \node [block, color=black, fill=white, text width=6.5em, below = 0.5cm of dc] (intr) {{\huge \bf IRQ}\\{\scriptsize Handle interrupts}}; \path [line] (if) -- (dc); \end{tikzpicture} \end{document}
example_3_combination_4
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows, positioning} \tikzstyle{block} = [rectangle, draw, fill=blue!20, text width=5em, text centered, rounded corners, minimum height=4em] \tikzstyle{line} = [draw, -latex'] \definecolor{mygreen}{rgb}{0,0.6,0} \definecolor{echodrk}{HTML}{0099cc} \begin{document} \begin{tikzpicture}[node distance=4cm, auto] \node [block, color=red, fill=white, text width=6.5em] (if) {{\huge \bf IF}\\{\scriptsize Instruction fetch}}; \node [block, color=mygreen, fill=white, text width=6.5em, right of=if] (dc) {{\huge \bf DC}\\{\scriptsize Decode}}; \node [block, color=echodrk, fill=white, text width=6.5em, right of=dc] (ex) {{\huge \bf EX}\\{\scriptsize Execute}}; \node [block, color=black, fill=white, text width=6.5em, below = 0.5cm of dc] (intr) {{\huge \bf IRQ}\\{\scriptsize Handle interrupts}}; \end{tikzpicture} \end{document}
example_3_combination_3
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows, positioning} \tikzstyle{block} = [rectangle, draw, fill=blue!20, text width=5em, text centered, rounded corners, minimum height=4em] \tikzstyle{line} = [draw, -latex'] \definecolor{mygreen}{rgb}{0,0.6,0} \definecolor{echodrk}{HTML}{0099cc} \begin{document} \begin{tikzpicture}[node distance=4cm, auto] \node [block, color=red, fill=white, text width=6.5em] (if) {{\huge \bf IF}\\{\scriptsize Instruction fetch}}; \node [block, color=mygreen, fill=white, text width=6.5em, right of=if] (dc) {{\huge \bf DC}\\{\scriptsize Decode}}; \node [block, color=echodrk, fill=white, text width=6.5em, right of=dc] (ex) {{\huge \bf EX}\\{\scriptsize Execute}}; \end{tikzpicture} \end{document}
example_3_main
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows, positioning} \tikzstyle{block} = [rectangle, draw, fill=blue!20, text width=5em, text centered, rounded corners, minimum height=4em] \tikzstyle{line} = [draw, -latex'] \definecolor{mygreen}{rgb}{0,0.6,0} \definecolor{echodrk}{HTML}{0099cc} \begin{document} \begin{tikzpicture}[node distance=4cm, auto] \node [block, color=red, fill=white, text width=6.5em] (if) {{\huge \bf IF}\\{\scriptsize Instruction fetch}}; \node [block, color=mygreen, fill=white, text width=6.5em, right of=if] (dc) {{\huge \bf DC}\\{\scriptsize Decode}}; \node [block, color=echodrk, fill=white, text width=6.5em, right of=dc] (ex) {{\huge \bf EX}\\{\scriptsize Execute}}; \node [block, color=black, fill=white, text width=6.5em, below = 0.5cm of dc] (intr) {{\huge \bf IRQ}\\{\scriptsize Handle interrupts}}; \path [line] (if) -- (dc); \path [line] (dc) -- (ex); \path [line] (ex) edge [bend left] (intr); \path [line] (intr) edge [bend left] (if); \end{tikzpicture} \end{document}
example_4_combination_5
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,shapes} \definecolor{mygreen}{rgb}{0,0.6,0} \pgfdeclarelayer{background} \pgfsetlayers{background,main} \tikzstyle{vertex}=[circle,fill=black!25,minimum size=20pt,inner sep=0pt] \tikzstyle{selected vertex} = [vertex, fill=red!24] \tikzstyle{select vertex} = [vertex, fill=blue!24] \tikzstyle{selectx vertex} = [vertex, fill=green!24] \tikzstyle{edge} = [draw,thick,-] \tikzstyle{selected edge} = [draw,line width=5pt,-,red!50] \begin{document} \begin{tikzpicture}[scale=1.8, auto,swap] \foreach \pos/\name in {{(0,2)/a}, {(2,1)/b}, {(4,1)/c}, {(0,0)/d}, {(3,0)/e}, {(2,-1)/f}, {(4,-1)/g}} \node[vertex] (\name) at \pos {}; \foreach \source/ \dest /\weight in {b/a/7, c/b/8,d/a/5,d/b/9, e/b/7, e/c/5,e/d/15, f/d/6,f/e/8, g/e/9,g/f/11} \path[edge] (\source) -- (\dest); \foreach \vertex / \fr in {b/4} \path node[selected vertex] at (\vertex) {$\vec{h}_b$}; \foreach \vertex / \fr in {a/4, c/4, d/4, e/5} \path node[select vertex] at (\vertex) {$\vec{h}_{\vertex}$}; \begin{pgfonlayer}{background} \foreach \source / \dest in {b/c,d/b,a/b,b/e} \path[selected edge] (\source.center) -- (\dest.center); \end{pgfonlayer} \end{tikzpicture} \end{document}
example_4_combination_2
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,shapes} \definecolor{mygreen}{rgb}{0,0.6,0} \pgfdeclarelayer{background} \pgfsetlayers{background,main} \tikzstyle{vertex}=[circle,fill=black!25,minimum size=20pt,inner sep=0pt] \tikzstyle{selected vertex} = [vertex, fill=red!24] \tikzstyle{select vertex} = [vertex, fill=blue!24] \tikzstyle{selectx vertex} = [vertex, fill=green!24] \tikzstyle{edge} = [draw,thick,-] \tikzstyle{selected edge} = [draw,line width=5pt,-,red!50] \begin{document} \begin{tikzpicture}[scale=1.8, auto,swap] \foreach \pos/\name in {{(0,2)/a}, {(2,1)/b}, {(4,1)/c}, {(0,0)/d}, {(3,0)/e}, {(2,-1)/f}, {(4,-1)/g}} \node[vertex] (\name) at \pos {}; \foreach \source/ \dest /\weight in {b/a/7, c/b/8,d/a/5,d/b/9, e/b/7, e/c/5,e/d/15, f/d/6,f/e/8, g/e/9,g/f/11} \path[edge] (\source) -- (\dest); \end{tikzpicture} \end{document}
example_4_combination_3
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,shapes} \definecolor{mygreen}{rgb}{0,0.6,0} \pgfdeclarelayer{background} \pgfsetlayers{background,main} \tikzstyle{vertex}=[circle,fill=black!25,minimum size=20pt,inner sep=0pt] \tikzstyle{selected vertex} = [vertex, fill=red!24] \tikzstyle{select vertex} = [vertex, fill=blue!24] \tikzstyle{selectx vertex} = [vertex, fill=green!24] \tikzstyle{edge} = [draw,thick,-] \tikzstyle{selected edge} = [draw,line width=5pt,-,red!50] \begin{document} \begin{tikzpicture}[scale=1.8, auto,swap] \foreach \pos/\name in {{(0,2)/a}, {(2,1)/b}, {(4,1)/c}, {(0,0)/d}, {(3,0)/e}, {(2,-1)/f}, {(4,-1)/g}} \node[vertex] (\name) at \pos {}; \foreach \source/ \dest /\weight in {b/a/7, c/b/8,d/a/5,d/b/9, e/b/7, e/c/5,e/d/15, f/d/6,f/e/8, g/e/9,g/f/11} \path[edge] (\source) -- (\dest); \foreach \vertex / \fr in {b/4} \path node[selected vertex] at (\vertex) {$\vec{h}_b$}; \end{tikzpicture} \end{document}
example_4_combination_4
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,shapes} \definecolor{mygreen}{rgb}{0,0.6,0} \pgfdeclarelayer{background} \pgfsetlayers{background,main} \tikzstyle{vertex}=[circle,fill=black!25,minimum size=20pt,inner sep=0pt] \tikzstyle{selected vertex} = [vertex, fill=red!24] \tikzstyle{select vertex} = [vertex, fill=blue!24] \tikzstyle{selectx vertex} = [vertex, fill=green!24] \tikzstyle{edge} = [draw,thick,-] \tikzstyle{selected edge} = [draw,line width=5pt,-,red!50] \begin{document} \begin{tikzpicture}[scale=1.8, auto,swap] \foreach \pos/\name in {{(0,2)/a}, {(2,1)/b}, {(4,1)/c}, {(0,0)/d}, {(3,0)/e}, {(2,-1)/f}, {(4,-1)/g}} \node[vertex] (\name) at \pos {}; \foreach \source/ \dest /\weight in {b/a/7, c/b/8,d/a/5,d/b/9, e/b/7, e/c/5,e/d/15, f/d/6,f/e/8, g/e/9,g/f/11} \path[edge] (\source) -- (\dest); \foreach \vertex / \fr in {b/4} \path node[selected vertex] at (\vertex) {$\vec{h}_b$}; \foreach \vertex / \fr in {a/4, c/4, d/4, e/5} \path node[select vertex] at (\vertex) {$\vec{h}_{\vertex}$}; \end{tikzpicture} \end{document}
example_4_combination_7
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,shapes} \definecolor{mygreen}{rgb}{0,0.6,0} \pgfdeclarelayer{background} \pgfsetlayers{background,main} \tikzstyle{vertex}=[circle,fill=black!25,minimum size=20pt,inner sep=0pt] \tikzstyle{selected vertex} = [vertex, fill=red!24] \tikzstyle{select vertex} = [vertex, fill=blue!24] \tikzstyle{selectx vertex} = [vertex, fill=green!24] \tikzstyle{edge} = [draw,thick,-] \tikzstyle{selected edge} = [draw,line width=5pt,-,red!50] \begin{document} \begin{tikzpicture}[scale=1.8, auto,swap] \foreach \pos/\name in {{(0,2)/a}, {(2,1)/b}, {(4,1)/c}, {(0,0)/d}, {(3,0)/e}, {(2,-1)/f}, {(4,-1)/g}} \node[vertex] (\name) at \pos {}; \foreach \source/ \dest /\weight in {b/a/7, c/b/8,d/a/5,d/b/9, e/b/7, e/c/5,e/d/15, f/d/6,f/e/8, g/e/9,g/f/11} \path[edge] (\source) -- (\dest); \foreach \vertex / \fr in {b/4} \path node[selected vertex] at (\vertex) {$\vec{h}_b$}; \foreach \vertex / \fr in {a/4, c/4, d/4, e/5} \path node[select vertex] at (\vertex) {$\vec{h}_{\vertex}$}; \begin{pgfonlayer}{background} \foreach \source / \dest in {b/c,d/b,a/b,b/e} \path[selected edge] (\source.center) -- (\dest.center); \end{pgfonlayer} \foreach \pos/\name in {{(6,2)/a1}, {(8,1)/b1}, {(10,1)/c1}, {(6,0)/d1}, {(9,0)/e1}, {(8,-1)/f1}, {(10,-1)/g1}} \node[vertex] (\name) at \pos {}; \foreach \source/ \dest /\weight in {b1/a1/7, c1/b1/8,d1/a1/5,d1/b1/9, e1/b1/7, e1/c1/5,e1/d1/15, f1/d1/6,f1/e1/8, g1/e1/9,g1/f1/11} \path[edge] (\source) -- (\dest); \end{tikzpicture} \end{document}
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
51