nnmt.input_output.save_network

nnmt.input_output.save_network(file, network)[source]

Save network to h5 file.

The networks’ dictionaires (network_params, analysis_params, results, results_hash_dict) are stored. Quantities are converted to value-unit dictionaries.

Parameters:
filestr

Output file name.

networkNetwork object

The network to be saved.