public class SymmetricTrainer extends DefaultTrainer implements CommunicativeTrainer
DefaultTrainer.DefaultTrainerBuilderThread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected org.deeplearning4j.optimize.solvers.accumulation.GradientsAccumulator |
accumulator |
averagingFrequency, isStopped, lastEtlTime, nullDataSet, nullMode, onRootModel, originalModel, parallelWrapper, queue, queueMDS, replicatedModel, running, shouldStop, shouldUpdate, threadId, thrownException, useMDS, uuid, workspaceModeMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
SymmetricTrainer(org.deeplearning4j.nn.api.Model originalModel,
int threadIdx,
org.deeplearning4j.nn.conf.WorkspaceMode mode,
ParallelWrapper wrapper,
boolean useMDS) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
averagingRequired()
This method returns TRUE if this Trainer implementation assumes periodic aver
|
void |
enqueueGradient(org.deeplearning4j.optimize.listeners.SharedGradient gradient)
Deprecated.
|
protected void |
postInit()
This method does post-initialization configuration of Model.
|
cloneListener, configureListeners, feedDataSet, feedMultiDataSet, fit, fit, getModel, isRunning, run, setupIfNeccessary, shutdown, updateModel, waitTillRunningactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfeedDataSet, feedMultiDataSet, getModel, isRunning, setUncaughtExceptionHandler, shutdown, start, updateModel, waitTillRunningprotected org.deeplearning4j.optimize.solvers.accumulation.GradientsAccumulator accumulator
public SymmetricTrainer(@NonNull
org.deeplearning4j.nn.api.Model originalModel,
int threadIdx,
@NonNull
org.deeplearning4j.nn.conf.WorkspaceMode mode,
@NonNull
ParallelWrapper wrapper,
boolean useMDS)
@Deprecated public void enqueueGradient(org.deeplearning4j.optimize.listeners.SharedGradient gradient)
enqueueGradient in interface CommunicativeTrainerpublic boolean averagingRequired()
TraineraveragingRequired in interface TraineraveragingRequired in class DefaultTrainerprotected void postInit()
DefaultTrainerpostInit in class DefaultTrainerCopyright © 2017. All rights reserved.