Fixing typo in documentation.
epochs is not the third argument to fit() (it's batch_size) PiperOrigin-RevId: 316284462 Change-Id: Icf223f0617d814edd1f3801cafa08fb609478874
This commit is contained in:
parent
8e6cb257fe
commit
52d1e72c66
@ -41,7 +41,7 @@ class LinearModel(training.Model):
|
||||
```python
|
||||
model = LinearModel()
|
||||
model.compile(optimizer='sgd', loss='mse')
|
||||
model.fit(x, y, epochs)
|
||||
model.fit(x, y, epochs=epochs)
|
||||
```
|
||||
|
||||
This model accepts sparse float inputs as well:
|
||||
|
Loading…
Reference in New Issue
Block a user