在公式后面空一格并添加 \tag{number}
$$ a_{i,t} = \frac{exp(h_t^TW_bb_i)}{\sum_jexp(h_t^TW_bb_j)} \tag{1}$$
$$c_t = \sum_{i=1,…,|x|}a_{i,t}b_i \tag{2}$$
在公式后面空一格并添加 \tag{number}
$$ a_{i,t} = \frac{exp(h_t^TW_bb_i)}{\sum_jexp(h_t^TW_bb_j)} \tag{1}$$
$$c_t = \sum_{i=1,…,|x|}a_{i,t}b_i \tag{2}$$