public static class ParameterServerTrainer.ParameterServerTrainerBuilder extends DefaultTrainer.DefaultTrainerBuilder
Constructor and Description |
---|
ParameterServerTrainerBuilder() |
public ParameterServerTrainer.ParameterServerTrainerBuilder originalModel(Model originalModel)
public ParameterServerTrainer.ParameterServerTrainerBuilder replicatedModel(Model replicatedModel)
public ParameterServerTrainer.ParameterServerTrainerBuilder queue(java.util.concurrent.LinkedBlockingQueue<org.nd4j.linalg.dataset.api.DataSet> queue)
public ParameterServerTrainer.ParameterServerTrainerBuilder queueMDS(java.util.concurrent.LinkedBlockingQueue<org.nd4j.linalg.dataset.api.MultiDataSet> queueMDS)
public ParameterServerTrainer.ParameterServerTrainerBuilder running(java.util.concurrent.atomic.AtomicInteger running)
public ParameterServerTrainer.ParameterServerTrainerBuilder threadId(int threadId)
public ParameterServerTrainer.ParameterServerTrainerBuilder shouldUpdate(java.util.concurrent.atomic.AtomicBoolean shouldUpdate)
public ParameterServerTrainer.ParameterServerTrainerBuilder shouldStop(java.util.concurrent.atomic.AtomicBoolean shouldStop)
public ParameterServerTrainer.ParameterServerTrainerBuilder thrownException(java.lang.Exception thrownException)
public ParameterServerTrainer.ParameterServerTrainerBuilder useMDS(boolean useMDS)
public ParameterServerTrainer.ParameterServerTrainerBuilder onRootModel(boolean onRootModel)
public ParameterServerTrainer.ParameterServerTrainerBuilder parallelWrapper(ParallelWrapper parallelWrapper)