← browse the library
Layer / feature maps preview
icon

Layer / feature maps

Stacked feature maps representing a network layer / tensor.

idlayer
typeicon
domainml
requirestikz
licenseCC0-1.0
authorOpenTikZ contributors

layerfeature maptensorconvactivationstackchannels

Download SVG
layer.tex
\documentclass[border=4pt]{standalone}

% --- packages (mirror these in layer.meta.json "requires") ---
\usepackage{tikz}

% --- palette (canonical source: reference/color-palettes/color-palettes.md; light variant) ---
\definecolor{otblue}{HTML}{0072B2}
\definecolor{otorange}{HTML}{E69F00}
\definecolor{otteal}{HTML}{009E73}
\definecolor{otpurple}{HTML}{CC79A7}
\definecolor{otgray}{HTML}{5A5A5A}

\begin{document}
\begin{tikzpicture}[line width=0.8pt]
  % stacked feature maps (back to front for correct overlap)
  \foreach \i in {2,1,0}{
    \pgfmathsetmacro{\d}{\i*0.24}
    \filldraw[draw=otblue!75!black, fill=otblue!15] (\d,\d) rectangle (\d+1.3,\d+1.8);
  }
\end{tikzpicture}
\end{document}

Use it

The file compiles on its own (\documentclass{standalone}). Drop it into your project and \input it, or copy the tikzpicture into your figure. Colours come from the shared palette defined in the preamble — edit those named colours, not raw hex.

Graphic content is CC0 1.0 (public domain) — reuse freely, no attribution required.