public class ParameterServerTrainingHook extends java.lang.Object implements TrainingHook
Constructor and Description |
---|
ParameterServerTrainingHook() |
Modifier and Type | Method and Description |
---|---|
void |
postUpdate(org.nd4j.linalg.dataset.api.DataSet minibatch,
Model model)
A hook method for post update
|
void |
postUpdate(org.nd4j.linalg.dataset.api.MultiDataSet minibatch,
Model model)
A hook method for post update
|
void |
preUpdate(org.nd4j.linalg.dataset.api.DataSet minibatch,
Model model)
A hook method for pre update.
|
void |
preUpdate(org.nd4j.linalg.dataset.api.MultiDataSet minibatch,
Model model)
A hook method for pre update.
|
public void preUpdate(org.nd4j.linalg.dataset.api.DataSet minibatch, Model model)
preUpdate
in interface TrainingHook
minibatch
- the inibatch
that was used for the updatemodel
- themodel that was updatepublic void postUpdate(org.nd4j.linalg.dataset.api.DataSet minibatch, Model model)
postUpdate
in interface TrainingHook
minibatch
- the minibatch
that was usd for the updatemodel
- the model that was updatedpublic void preUpdate(org.nd4j.linalg.dataset.api.MultiDataSet minibatch, Model model)
preUpdate
in interface TrainingHook
minibatch
- the inibatch
that was used for the updatemodel
- themodel that was updatepublic void postUpdate(org.nd4j.linalg.dataset.api.MultiDataSet minibatch, Model model)
postUpdate
in interface TrainingHook
minibatch
- the minibatch
that was usd for the updatemodel
- the model that was updated