From 5294f1c7e4b878901d2e053e6670c3775b5f1c06 Mon Sep 17 00:00:00 2001 From: huanxiaoling <3174348550@qq.com> Date: Tue, 1 Nov 2022 17:04:21 +0800 Subject: [PATCH] modify the formulas on the webpage --- tutorials/application/source_en/cv/vit.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tutorials/application/source_en/cv/vit.md b/tutorials/application/source_en/cv/vit.md index ee3ec57326..efc93d9ed9 100644 --- a/tutorials/application/source_en/cv/vit.md +++ b/tutorials/application/source_en/cv/vit.md @@ -104,9 +104,9 @@ In the Self-Attention: $$ \begin{cases} - q_i = W_q \cdot x_i & \\ - k_i = W_k \cdot x_i,\hspace{1em} &i = 1,2,3 \ldots \\ - v_i = W_v \cdot x_i & + q_i = W_q \cdot x_i & \\ + k_i = W_k \cdot x_i,\hspace{1em} &i = 1,2,3 \ldots \\ + v_i = W_v \cdot x_i & \end{cases} \tag{1} $$ @@ -117,9 +117,9 @@ In the Self-Attention: $$ \begin{cases} - a_{1,1} = q_1 \cdot k_1 / \sqrt d \\ - a_{1,2} = q_1 \cdot k_2 / \sqrt d \\ - a_{1,3} = q_1 \cdot k_3 / \sqrt d + a_{1,1} = q_1 \cdot k_1 / \sqrt d \\ + a_{1,2} = q_1 \cdot k_2 / \sqrt d \\ + a_{1,3} = q_1 \cdot k_3 / \sqrt d \end{cases} \tag{2} $$ -- Gitee