\begin{tikzpicture}[ node distance=1.2cm and 2.5cm, neuron/.style={circle,draw,minimum…
- User
\begin{tikzpicture}[ node distance=1.2cm and 2.5cm, neuron/.style={circle,draw,minimum size=0.7cm,inner sep=0}, arrow/.style={->,shorten >=1pt}, dots/.style={gray, scale=1.5}, relu/.style={line width=0.5mm} ] % Input layer \node[neuron] (I1) at (0, -1) {}; \node[neuron] (I2) [below=0.5cm of I1] {}; \node[dots] (Idots) [below=0.3cm of I2] {\vdots}; \node[neuron] (I3) [below=0.3cm of Idots] {}; \node[neuron] (I4) [below=0.5cm of I3] {};
% Hidden layer 1 \node[neuron] (H11) [right=of I1, yshift=1.2cm] {}; \node[neuron] (H12) [below=0.5cm of H11] {}; \node[neuron] (H13) [below=0.5cm of H12] {}; \node[dots] (Hdots1) [below=0.3cm of H13] {\vdots}; \node[neuron] (H14) [below=0.3cm of Hdots1] {}; \node[neuron] (H15) [below=0.5cm of H14] {}; \node[neuron] (H16) [below=0.5cm of H15] {};
% Hidden layer 2 \node[neuron] (H21) [right=of H11] {}; \node[neuron] (H22) [below=0.5cm of H21] {}; \node[neuron] (H23) [below=0.5cm of H22] {}; \node[dots] (Hdots2) [below=0.3cm of H23] {\vdots}; \node[neuron] (H24) [below=0.3cm of Hdots2] {}; \node[neuron] (H25) [below=0.5cm of H24] {}; \node[neuron] (H26) [below=0.5cm of H25] {};
% Hidden layer 3 (new) \node[neuron] (H31) [right=of H21] {}; \node[neuron] (H32) [below=0.5cm of H31] {}; \node[neuron] (H33) [below=0.5cm of H32] {}; \node[dots] (Hdots3) [below=0.3cm of H33] {\vdots}; \node[neuron] (H34) [below=0.3cm of Hdots3] {}; \node[neuron] (H35) [below=0.5cm of H34] {}; \node[neuron] (H36) [below=0.5cm of H35] {};
% Output layer \node[neuron] (O1) at () {}; \node[neuron] (O2) [below=0.5cm of O1] {}; \node[dots] (Odots) [below=0.3cm of O2] {\vdots}; \node[neuron] (O3) [below=0.3cm of Odots] {}; \node[neuron] (O4) [below=0.5cm of O3] {};
Assistant
- User
Package tikz: You need to load a decoration library.
Assistant
- User
make text vertical
Assistant