Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(neural_net): rm block name to elim name clash #236

Merged
merged 1 commit into from
Dec 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading