Skip to content

Commit

Permalink
fix(example): better .plt & json headers
Browse files Browse the repository at this point in the history
  • Loading branch information
rouson committed Oct 19, 2023
1 parent e4496ef commit 3ecd162
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions example/learn-saturated-mixing-ratio.f90
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ function perturbed_identity_network(perturbation_magnitude, n) result(trainable_
trainable_engine = trainable_engine_t( &
nodes = n, weights = w, biases = b, differentiable_activation_strategy = relu_t(), &
metadata = &
[string_t("Perturbed Identity"), string_t("Damian Rouson"), string_t("2023-09-23"), string_t("relu"), string_t("false")] &
[string_t("Saturated Mixing Ratio"), string_t("Damian Rouson"), string_t("2023-09-23"), string_t("relu"), &
string_t("false")] &
)
end associate
end associate
Expand All @@ -207,7 +208,7 @@ subroutine open_plot_file_for_appending(plot_file_name, plot_unit, previous_epoc
inquire(file=plot_file_name, exist=preexisting_plot_file)
open(newunit=plot_unit,file="cost.plt",status="unknown",position="append")

associate(header => "Epoch | Nodes/layer | System_clock | Cost function")
associate(header => " Epoch | Cost Function| System_Clock | Nodes per Layer")
if (.not. preexisting_plot_file) then
write(plot_unit,*) header
previous_epoch = 0
Expand Down
File renamed without changes.

0 comments on commit 3ecd162

Please sign in to comment.