标签:att png lan math info soft ima pac 换行
引入包:\usepackage{amsmath}
\begin{equation}
\begin{aligned}
\mathbf{H}_i&=Attention(\mathbf{Q}_i,\mathbf{K}_i,\mathbf{Z}_i) \&=softmax(\frac{\mathbf{Q}_i\mathbf{K}_i^{\mathrm{T}}}{\sqrt{2d_k}})\mathbf{Z_i}
\end{aligned}
\end{equation}
效果:
\begin{equation} \label{eqn2}
\begin{split}
n&=\left[\frac{b-a}{0.01}\right]+1, \ S&=\frac{1}{n}\sum\limits_{j=1}^{n}(\lambda_{0j}-\lambda_{j}).
\end{split}
\end{equation}
效果:
标签:att png lan math info soft ima pac 换行
原文地址:https://www.cnblogs.com/TianyuSu/p/14501497.html