Remove save entire model in doc (#6986)
This commit is contained in:
		
							parent
							
								
									12487a4c5a
								
							
						
					
					
						commit
						6b65968e3c
					
				
					 1 changed files with 2 additions and 7 deletions
				
			
		| 
						 | 
					@ -129,17 +129,12 @@ for r in result:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Step 5: Save and Load the Model
 | 
					### 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
 | 
					```python
 | 
				
			||||||
est.save("mnist_model")
 | 
					est.save("mnist_model")
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Save the entire model to the provided model path.
 | 
					Load the Estimator states (including model and optimizer) from 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.
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
```python
 | 
					```python
 | 
				
			||||||
est.load("mnist_model")
 | 
					est.load("mnist_model")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue