save and restore sessions
string; path to checkpoint file
The Restore(path) command loads a saved computation session to memory from a checkpoint file located at path.
The Save(path) command saves a computation session in memory to a checkpoint file located at path.
These functions are part of the DeepLearning package, so they can be used in the short form Restore(..) and Save(..) only after executing the command with(DeepLearning). However, they can always be accessed through the long form of the command by using DeepLearning[Restore](..) or DeepLearning[Save](..).
For more information about saving models, see the TensorFlow Python API documentation for saved models.
Examples of Einstein summation on vectors
v≔DeepLearning TensorName: Variable:0Shape: Data Type: float
c≔DeepLearning TensorName: Const:0Shape: Data Type: float
DeepLearning TensorName: AssignAdd:0Shape: Data Type: float
sess≔DeepLearning Session<tensorflow.python.client.session.InteractiveSession object at 0x7f44d3804350>
The DeepLearning[Restore] and DeepLearning[Save] commands were introduced in Maple 2018.
For more information on Maple 2018 changes, see Updates in Maple 2018.
Download Help Document
What kind of issue would you like to report? (Optional)