macros.tex (1377B)
1 2 \newcommand{\E}[2]{\operatorname{E}_{#1}\left[#2\right]} % Expectation 3 \newcommand{\Var}[1]{\operatorname{Var}\left[#1\right]} % Expectation 4 % \newcommand{\E}[1]{\mathbb{E}\left[#1\right]} % Expectation 5 \newcommand{\cov}[2]{\operatorname{Cov}_{#1}\left[#2\right]} % Covariance 6 7 \renewcommand{\vec}[1]{\bm{#1}} 8 9 \newcommand{\reals}{\mathbb{R}} 10 11 % \newcommand{\identity}{\mathbb{I}} 12 \newcommand{\identity}{\bm{I}} 13 14 \newcommand{\normal}{\mathcal{N}} 15 16 % \newcommand{\inside}{\subseteq} 17 % \newcommand{\contains}{\supseteq} 18 % \newcommand{\intersect}{\cap} 19 % \newcommand{\union}{\cup} 20 21 \newcommand{\elbo}{\mathcal{L}\left[q_{\bm \phi}\right]} 22 \newcommand{\entropy}[1]{\mathbb{H}\left[#1\right]} 23 \newcommand{\crossentropy}[2]{\mathbb{H}\left[#1, #2\right]} 24 25 \newcommand{\given}{\;|\;} 26 27 \newcommand{\norm}[1]{\left\lVert#1\right\rVert} 28 \newcommand{\abs}[1]{\left\lvert#1\right\rvert} 29 30 \newcommand*{\T}{^{\mkern-1.5mu\mathsf{T}}} 31 32 \newcommand{\kld}[2]{D_{\mathrm{KL}}\left[#1\ \lVert\ #2\right]} 33 34 \newcommand{\lik}{p\left(\bm y \given \bm \theta\right)} 35 36 \newcommand{\tabf}[1]{\fontseries{b}\selectfont{#1}} 37 38 \DeclareMathOperator*{\argmax}{arg\,max} 39 \DeclareMathOperator*{\argmin}{arg\,min} 40 41 \DeclareMathOperator{\Tr}{Tr} 42 43 \DeclareMathOperator{\sn}{sn} 44 \DeclareMathOperator{\cn}{cn} 45 \DeclareMathOperator{\dn}{dn} 46 47 \renewcommand\Re{\operatorname{Re}} 48 \renewcommand\Im{\operatorname{Im}}