Skip to content

Commit

Permalink
fix(neural_net): rm block name to elim name clash
Browse files Browse the repository at this point in the history
  • Loading branch information
rouson committed Dec 29, 2024
1 parent 2e25871 commit e28abf6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/fiats/neural_network_s.F90
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,6 @@ elemental module subroutine double_precision_assert_conformable_with(self, neura
end block sum_cost

if (adam) then
adam: &
block
! Adam parameters
real, parameter :: beta(*) = [.9, .999]
Expand All @@ -1022,7 +1021,7 @@ elemental module subroutine double_precision_assert_conformable_with(self, neura
b(1:n(l),l) = b(1:n(l),l) - alpha*vdbc(1:n(l),l)/(sqrt(sdbc(1:n(l),l))+epsilon) ! Adjust weights
end do adam_adjust_weights_and_biases
end associate
end block adam
end block
else
associate(eta => learning_rate)
adjust_weights_and_biases: &
Expand Down

0 comments on commit e28abf6

Please sign in to comment.