Remove save entire model in doc (#6986)

This commit is contained in:
Kai Huang 2022-12-14 17:04:15 +08:00 committed by GitHub
parent 12487a4c5a
commit 6b65968e3c

View file

@ -129,17 +129,12 @@ for r in result:
### Step 5: Save and Load the Model
Save the Estimator states (including the model and optimizer) to the provided model path.
Save the Estimator states (including model and optimizer) to the provided model path.
```python
est.save("mnist_model")
```
Save the entire model to the provided model path.
```python
est.save("mnist_model", entire=True)
```
Load the Estimator states (including the model and optimizer) or the entire model from the provided model path.
Load the Estimator states (including model and optimizer) from the provided model path.
```python
est.load("mnist_model")