Ejemplo n.º 1
0
 /// <summary>
 /// Save the model to h5 file
 /// </summary>
 /// <param name="path">The path with filename eg: model.h5.</param>
 public void Save(string filepath, bool overwrite = true, bool include_optimizer = true)
 {
     PyInstance.save(filepath: filepath, overwrite: overwrite, include_optimizer: include_optimizer);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Save the model to h5 file
 /// </summary>
 /// <param name="path">The path with filename eg: model.h5.</param>
 public void Save(string path)
 {
     PyInstance.save(path);
 }