Skip to content

Commit c53b23f

Browse files
committed
Fix \bm to \bf
1 parent aabc42b commit c53b23f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

chapter_model_deployment/Conversion_to_Inference_Model_and_Model_Optimization.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ $$\bf{Y_{\rm conv}}=\bf{W_{\rm conv}}\cdot\bf{X_{\rm conv}}+\bf{B_{\rm conv}}$$
9696
Here, we do not need to understand what each variable means. Instead, we
9797
only need to keep in mind that Equation
9898
:eqref:`ch-deploy/conv-equation` is an equation for
99-
$\bm{Y_{\rm conv}}$ with respect to $\bm{X_{\rm conv}}$, and other
99+
$\bf{Y_{\rm conv}}$ with respect to $\bf{X_{\rm conv}}$, and other
100100
symbols are constants.
101101

102102
Equation
@@ -106,21 +106,21 @@ Batchnorm:
106106
$$\bf{Y_{\rm bn}}=\gamma\frac{\bf{X_{\rm bn}}-\mu_{\mathcal{B}}}{\sqrt{{\sigma_{\mathcal{B}}}^{2}+\epsilon}}+\beta$$
107107
:eqlabel:`equ:ch-deploy/bn-equation`
108108

109-
Similarly, it is an equation for $\bm{Y_{\rm bn}}$ with respect to
110-
$\bm{X_{\rm bn}}$. Other symbols in the equation represent constants.
109+
Similarly, it is an equation for $\bf{Y_{\rm bn}}$ with respect to
110+
$\bf{X_{\rm bn}}$. Other symbols in the equation represent constants.
111111

112112
As shown in Figure
113113
:numref:`ch-deploy/conv-bn-fusion`, when the output of
114114
Convolution is used as the input of Batchnorm, the formula of Batchnorm
115-
is a function for $\bm{Y_{\rm bn}}$ with respect to $\bm{X_{\rm conv}}$.
116-
After substituting $\bm{Y_{\rm conv}}$ into $\bm{X_{\rm bn}}$ and
115+
is a function for $\bf{Y_{\rm bn}}$ with respect to $\bf{X_{\rm conv}}$.
116+
After substituting $\bf{Y_{\rm conv}}$ into $\bf{X_{\rm bn}}$ and
117117
uniting and extracting the constants, we obtain Equation
118118
:eqref:`ch-deploy/conv-bn-equation-3`.
119119

120120
$$\bf{Y_{\rm bn}}=\bf{A}\cdot\bf{X_{\rm conv}}+\bf{B}$$
121121
:eqlabel:`equ:ch-deploy/conv-bn-equation-3`
122122

123-
Here, $\bm{A}$ and $\bm{B}$ are two matrices. It can be noticed that
123+
Here, $\bf{A}$ and $\bf{B}$ are two matrices. It can be noticed that
124124
Equation
125125
:eqref:`ch-deploy/conv-bn-equation-3` is a formula for computing
126126
Convolution. The preceding example shows that the computation of

0 commit comments

Comments
 (0)