Skip to content

Commit

Permalink
fix(example): work around associate issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rouson committed Nov 6, 2023
1 parent dabc96c commit 6bc112e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions example/print-training-configuration.f90
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ program print_training_configuration
hyperparameters_t(mini_batches=10, learning_rate=1.5, optimizer = "adam"), &
network_configuration_t(skip_connections=.false., nodes_per_layer=[2,72,2], activation_name="sigmoid") &
))
associate(lines => training_configuration%to_json())
associate(json_file => file_t(lines))
call json_file%write_lines()
end associate
associate(json_file => file_t(training_configuration%to_json()))
call json_file%write_lines()
end associate
end associate
end program

0 comments on commit 6bc112e

Please sign in to comment.