We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cc7775 commit 97b635eCopy full SHA for 97b635e
test/test_multihead_attention_layer.f90
@@ -191,9 +191,10 @@ subroutine test_multihead_attention_backward(attention, ok)
191
real :: input(3, 4, 1) = reshape([0.0, 10.1, 0.2, 10.3, 0.4, 10.5, 0.6, 10.7, 10.8, 0.9, 0.11, 0.12], [3, 4, 1])
192
real :: gradient(3, 4, 1) = reshape([0.1, 3. , 2. , 0.1, 3. , 3. , 0.1, 2. , 0.1, 3. , 0.1, 3. ], [3, 4, 1])
193
real :: expected_output_flat(12) = [&
194
- 0.489710003, 0.240968466, -3.35404873E-02, 0.489710003,&
195
- 0.240968466, -3.35404873E-02, 0.489710003, 0.240968466,&
196
- -3.35404873E-02, 0.489710003, 0.240968466, -3.35404873E-02&
+ -2.29912549E-02, 0.381484956, 0.453185737,&
197
+ -2.29912549E-02, 0.381484956, 0.453185737&
198
]
199
real :: expected_shape(3) = [3, 4, 1]
200
real :: output(3, 4, 1)
0 commit comments