File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -178,9 +178,7 @@ pure function default_real_from_components(hyperparameters) result(training_conf
178178
179179 training_configuration% hyperparameters_ = hyperparameters
180180 training_configuration% file_t = file_t([ &
181- string_t(" {" ), &
182- training_configuration% hyperparameters_% to_json(), &
183- string_t(" }" ) &
181+ training_configuration% hyperparameters_% to_json() &
184182 ])
185183 end function
186184
@@ -219,11 +217,10 @@ program test_suite_driver
219217 block
220218 type (training_configuration_t) from_json
221219 from_json = training_configuration_t(file_t( &
222- [ string_t( ' { ' ) &
223- , string_t(' "hyperparameters": {' ) &
220+ [ &
221+ string_t(' "hyperparameters": {' ) &
224222 ,string_t(' "learning rate" : 1.00000000,' ) &
225223 ,string_t(' }' ) &
226- ,string_t(' }' ) &
227224 ] &
228225 ))
229226 end block
You can’t perform that action at this time.
0 commit comments