mirror of
https://github.com/skindhu/Build-A-Large-Language-Model-CN.git
synced 2026-07-28 14:50:25 +08:00
add third chapter
This commit is contained in:
@@ -285,9 +285,13 @@ Sum: tensor(1.)
|
|||||||
> 1. **Softmax 的原理**
|
> 1. **Softmax 的原理**
|
||||||
>
|
>
|
||||||
> Softmax 函数的公式如下:
|
> Softmax 函数的公式如下:
|
||||||
> $$
|
>
|
||||||
> \operatorname{softmax}\left(z_{i}\right)=\frac{e^{z_{i}}}{\sum_{j} e^{z_{j}}}
|
> $`\operatorname{softmax}\left(z_{i}\right)=\frac{e^{z_{i}}}{\sum_{j} e^{z_{j}}}`$
|
||||||
> $$
|
>
|
||||||
|
>
|
||||||
|
>
|
||||||
|
>
|
||||||
|
>
|
||||||
>
|
>
|
||||||
>
|
>
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user