Method Save
Save(string, Model)
Serializes and saves the model description and weights to a file.
Declaration
public static void Save(string fileName, Model model)
Parameters
Type | Name | Description |
---|---|---|
string | fileName | The path to save the model file to |
Model | model | The model to save to file |
Save(Stream, Model)
Serializes and saves the model description and weights to a Stream
.
Declaration
public static void Save(Stream stream, Model model)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The |
Model | model | The model to save to file |