答案1
有一种装饰叫做brace
。您可能还对它的变体感兴趣calligraphy
,但这里暂时只提供基本版本。
\documentclass[tikz, margin=3mm]{standalone}
\usetikzlibrary{decorations.pathreplacing,positioning}
\begin{document}
\begin{tikzpicture}[>=stealth]
\node[draw] (dWdt) {$\displaystyle\frac{\partial W}{\partial t}$};
\node[right=2cm of dWdt,draw] (dpside) {$\displaystyle\frac{\partial \psi}{\partial
e'}$};
\path (dpside.south east) ++ (1,-1)
node[circle,draw,path picture={
\draw (path picture bounding box.south west) -- (path picture bounding
box.north east)
(path picture bounding box.south east) -- (path picture bounding box.north
west);}] (x){};
\draw[->] (dWdt) -- (dpside);
\draw (dpside.east) -| coordinate (aux) (x);
\draw[->] (aux) -- ++ (1,0) node[right]{out $f(x,t)$};
\draw[<-] (dWdt.west) -- ++ (-0.5,0) |- (x);
\draw[<-] (x.south) -- ++ (0,-1) node[below]{bias};
\draw[decoration={brace,raise=1pt,amplitude=4pt},decorate,thick]
(dWdt.north west) -- node[above=1ex]{$W$} (dpside.north east) ;
\end{tikzpicture}
\end{document}