<reponame>jmigual/FIB-TFG
\begin{tikzpicture}
  \tikzstyle{module}=[rounded corners, draw]
  \tikzstyle{sister}=[module, fill=cyan!20]

  \node [sister] (S-1) at (0, 0) {Sister Network \#1};
  \node [below = .5 of S-1] (aux-1) {};
  \node [sister, below = .5 of aux-1] (S-2) {Sister Network \#2};

  \node [left = of S-1] (I-1) {Input 1};
  \node [left = of S-2] (I-2) {Input 2};

  \node [module, right = of aux-1, fill=red!20] (M-1) {Distance measure};

  \node [right = of M-1] (O-1) {Output};

  \draw [-latex] (I-1) -- (S-1);
  \draw [-latex] (I-2) -- (S-2);

  \draw [-latex] (S-1) -- (M-1);
  \draw [-latex] (S-2) -- (M-1);

  \draw [-latex] (M-1) -- (O-1);

  \draw [latex-latex] (S-1) -- (S-2) node[midway, left] {Weights};
\end{tikzpicture}