Skip to content

Commit

Permalink
Included example in fcn8s to add external image in the diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
HarisIqbal88 committed Dec 20, 2018
1 parent 07d2563 commit d0ec7cf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
Binary file added examples/fcn8s/cats.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/fcn8s/fcn8.pdf
Binary file not shown.
2 changes: 2 additions & 0 deletions examples/fcn8s/fcn8.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
\usepackage{import}
\subimport{../../layers/}{init}
\usetikzlibrary{positioning}
\usetikzlibrary{3d} %for including external image

\def\ConvColor{rgb:yellow,5;red,2.5;white,5}
\def\ConvReluColor{rgb:yellow,5;red,5;white,5}
Expand All @@ -16,6 +17,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Draw Layer Blocks
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\node[canvas is zy plane at x=0] (temp) at (-3,0,0) {\includegraphics[width=8cm,height=8cm]{cats.jpg}};
% conv1_1,conv1_2,%pool1
\pic[shift={(0,0,0)}] at (0,0,0) {RightBandedBox={name=cr1,caption=conv1,%
xlabel={{"64","64"}},zlabel=I,fill=\ConvColor,bandfill=\ConvReluColor,%
Expand Down

0 comments on commit d0ec7cf

Please sign in to comment.