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 c2a1e70 commit ddcd204Copy full SHA for ddcd204
src/nf/nf_layernorm_submodule.f90
@@ -14,7 +14,7 @@ pure module subroutine forward(self, input)
14
real, allocatable :: normalized(:, :)
15
integer :: i
16
17
- allocate(normalized(self % sequence_length, self % model_dimension))
+ allocate(normalized, mold=self % mu)
18
19
! mu = x - MEAN_last_dim(x)
20
do concurrent(i = 1: self % model_dimension)
0 commit comments