File: neuralnetwork.tex

package info (click to toggle)
texlive-base 2018.20190227-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 680,080 kB
  • sloc: perl: 39,836; sh: 6,386; makefile: 3,708; ruby: 2,412; ansic: 2,266; xml: 1,686; cpp: 695; awk: 606; python: 583; tcl: 541; lisp: 86; php: 65; sed: 8
file content (14 lines) | stat: -rw-r--r-- 487 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
\documentclass{standalone}

\usepackage{neuralnetwork}

\begin{document}
	\begin{neuralnetwork}[height=4]
		\newcommand{\nodetextclear}[2]{}
		\newcommand{\nodetextx}[2]{$x_#2$}
		\newcommand{\nodetexty}[2]{$y_#2$}
		\inputlayer[count=4, bias=false, title=Input\\layer, text=\nodetextx]
		\hiddenlayer[count=5, bias=false, title=Hidden\\layer, text=\nodetextclear] \linklayers
		\outputlayer[count=3, title=Output\\layer, text=\nodetexty] \linklayers
	\end{neuralnetwork}
\end{document}