Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
yiming-wange
GitHub Repository: yiming-wange/cs224n-2023-solution
Path: blob/main/a3/a3_latex/macros.tex
995 views
1
\usepackage{scrextend}
2
3
\newcommand{\alns}[1] {
4
\begin{align*} #1 \end{align*}
5
}
6
7
\newcommand{\pd}[2] {
8
\frac{\partial #1}{\partial #2}
9
}
10
\renewcommand{\Re} { \mathbb{R} }
11
\newcommand{\btx} { \mathbf{\tilde{x}} }
12
\newcommand{\bth} { \mathbf{\tilde{h}} }
13
\newcommand{\smx} { \operatorname{softmax} }
14
\newcommand{\relu} { \operatorname{ReLU} }
15
\newcommand{\sigmoid} { \operatorname{\sigma} }
16
\newcommand{\CE} { \operatorname{CE} }
17
\newcommand{\byt} { \hat{\by} }
18
\newcommand{\yt} { \hat{y} }
19
20
\newcommand{\oft}[1]{^{(#1)}}
21
\newcommand{\fone}{\ensuremath{F_1}}
22
23
\newcommand{\ac}[1]{ {\color{red} \textbf{AC:} #1} }
24
\newcommand{\ner}[1]{\textbf{\color{blue} #1}}
25