fix: update pytorch estimator backend. (#6721)
This commit is contained in:
parent
e249e32c6f
commit
7f2beefb7b
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ First, Create an Estimator
|
|||
from bigdl.orca.learn.pytorch import Estimator
|
||||
from bigdl.orca.learn.metrics import Accuracy
|
||||
|
||||
est = Estimator.from_torch(model=model, optimizer=adam, loss=criterion, metrics=[Accuracy()])
|
||||
est = Estimator.from_torch(model=model, optimizer=adam, loss=criterion, metrics=[Accuracy()], backend="bigdl")
|
||||
```
|
||||
|
||||
Next, fit and evaluate using the Estimator
|
||||
|
|
|
|||
Loading…
Reference in a new issue