Uses of Class
org.nd4j.autodiff.listeners.At
-
-
Uses of At in org.nd4j.autodiff.listeners
Methods in org.nd4j.autodiff.listeners that return At Modifier and Type Method Description AtAt. copy()AtAt. copy(Operation operation)static AtAt. defaultAt()static AtAt. defaultAt(@NonNull Operation op)Methods in org.nd4j.autodiff.listeners with parameters of type At Modifier and Type Method Description voidBaseEvaluationListener. activationAvailable(SameDiff sd, At at, MultiDataSet batch, SameDiffOp op, String varName, INDArray activation)voidBaseListener. activationAvailable(SameDiff sd, At at, MultiDataSet batch, SameDiffOp op, String varName, INDArray activation)voidListener. activationAvailable(SameDiff sd, At at, MultiDataSet batch, SameDiffOp op, String varName, INDArray activation)Called when any activation becomes available.voidBaseEvaluationListener. activationAvailableEvaluations(SameDiff sd, At at, MultiDataSet batch, SameDiffOp op, String varName, INDArray activation)ListenerResponseBaseEvaluationListener. epochEnd(SameDiff sd, At at, LossCurve lossCurve, long epochTimeMillis)ListenerResponseBaseListener. epochEnd(SameDiff sd, At at, LossCurve lossCurve, long epochTimeMillis)ListenerResponseListener. epochEnd(SameDiff sd, At at, LossCurve lossCurve, long epochTimeMillis)Called at the end of every epoch, when fitting from an iteratorListenerResponseBaseEvaluationListener. epochEndEvaluations(SameDiff sd, At at, LossCurve lossCurve, long epochTimeMillis, EvaluationRecord evaluations)SeeListener.epochEnd(SameDiff, At, LossCurve, long), also provided the requested evaluationsvoidBaseEvaluationListener. epochStart(SameDiff sd, At at)voidBaseListener. epochStart(SameDiff sd, At at)voidListener. epochStart(SameDiff sd, At at)Called at the start of every epoch, when fitting from an iteratorvoidBaseEvaluationListener. epochStartEvaluations(SameDiff sd, At at)voidBaseListener. iterationDone(SameDiff sd, At at, MultiDataSet dataSet, Loss loss)voidListener. iterationDone(SameDiff sd, At at, MultiDataSet dataSet, Loss loss)Called at the end of every iteration, after all operations (including updating parameters) has been completedvoidBaseListener. iterationStart(SameDiff sd, At at, MultiDataSet data, long etlMs)voidListener. iterationStart(SameDiff sd, At at, MultiDataSet data, long etlTimeMs)Called at the start of every iteration (minibatch), before any operations have been executedvoidBaseListener. opExecution(SameDiff sd, At at, MultiDataSet batch, SameDiffOp op, OpContext opContext, INDArray[] outputs)voidListener. opExecution(SameDiff sd, At at, MultiDataSet batch, SameDiffOp op, OpContext opContext, INDArray[] outputs)Called at the end of each operation executionvoidBaseListener. preOpExecution(SameDiff sd, At at, SameDiffOp op, OpContext opContext)voidListener. preOpExecution(SameDiff sd, At at, SameDiffOp op, OpContext opContext)Called just before each operation is executed (native code called, etc) - after all inputs etc have been setvoidBaseListener. preUpdate(SameDiff sd, At at, Variable v, INDArray update)voidListener. preUpdate(SameDiff sd, At at, Variable v, INDArray update)Called just before each parameter is to be updated - i.e., just before each parameter is modified.ListenerResponseBaseEvaluationListener. validationDone(SameDiff sd, At at, long validationTimeMillis)ListenerResponseBaseListener. validationDone(SameDiff sd, At at, long validationTimeMillis)ListenerResponseListener. validationDone(SameDiff sd, At at, long validationTimeMillis)Called after the end of every epoch, once validation evaluation is done, when trainingListenerResponseBaseEvaluationListener. validationDoneEvaluations(SameDiff sd, At at, long validationTimeMillis, EvaluationRecord evaluations)SeeListener.validationDone(SameDiff, At, long), also provided the requested evaluations -
Uses of At in org.nd4j.autodiff.listeners.checkpoint
Methods in org.nd4j.autodiff.listeners.checkpoint with parameters of type At Modifier and Type Method Description ListenerResponseCheckpointListener. epochEnd(SameDiff sameDiff, At at, LossCurve lossCurve, long epochTimeMillis)voidCheckpointListener. iterationDone(SameDiff sd, At at, MultiDataSet dataSet, Loss loss) -
Uses of At in org.nd4j.autodiff.listeners.debugging
Methods in org.nd4j.autodiff.listeners.debugging with parameters of type At Modifier and Type Method Description voidArraySavingListener. opExecution(SameDiff sd, At at, MultiDataSet batch, SameDiffOp op, OpContext opContext, INDArray[] outputs)voidControlflowListener. opExecution(SameDiff sd, At at, MultiDataSet batch, SameDiffOp op, OpContext opContext, INDArray[] outputs)voidOpBenchmarkListener. opExecution(SameDiff sd, At at, MultiDataSet batch, SameDiffOp op, OpContext opContext, INDArray[] outputs)voidControlflowListener. preOpExecution(SameDiff sd, At at, SameDiffOp op, OpContext opContext)voidExecDebuggingListener. preOpExecution(SameDiff sd, At at, SameDiffOp op, OpContext opContext)voidOpBenchmarkListener. preOpExecution(SameDiff sd, At at, SameDiffOp op, OpContext opContext) -
Uses of At in org.nd4j.autodiff.listeners.impl
Methods in org.nd4j.autodiff.listeners.impl with parameters of type At Modifier and Type Method Description ListenerResponseScoreListener. epochEnd(SameDiff sd, At at, LossCurve lossCurve, long epochTimeMillis)ListenerResponseUIListener. epochEnd(SameDiff sd, At at, LossCurve lossCurve, long epochTimeMillis)ListenerResponseHistoryListener. epochEndEvaluations(SameDiff sd, At at, LossCurve lossCurve, long epochTimeMillis, EvaluationRecord evaluations)voidScoreListener. epochStart(SameDiff sd, At at)voidUIListener. epochStart(SameDiff sd, At at)voidScoreListener. iterationDone(SameDiff sd, At at, MultiDataSet dataSet, Loss loss)voidUIListener. iterationDone(SameDiff sd, At at, MultiDataSet dataSet, Loss loss)voidScoreListener. iterationStart(SameDiff sd, At at, MultiDataSet data, long etlMs)voidUIListener. iterationStart(SameDiff sd, At at, MultiDataSet data, long etlMs)voidUIListener. opExecution(SameDiff sd, At at, MultiDataSet batch, SameDiffOp op, OpContext opContext, INDArray[] outputs)voidUIListener. preUpdate(SameDiff sd, At at, Variable v, INDArray update)ListenerResponseHistoryListener. validationDoneEvaluations(SameDiff sd, At at, long validationTimeMillis, EvaluationRecord evaluations) -
Uses of At in org.nd4j.autodiff.listeners.profiler
Methods in org.nd4j.autodiff.listeners.profiler with parameters of type At Modifier and Type Method Description voidProfilingListener. iterationDone(SameDiff sd, At at, MultiDataSet dataSet, Loss loss)voidProfilingListener. opExecution(SameDiff sd, At at, MultiDataSet batch, SameDiffOp op, OpContext opContext, INDArray[] outputs)voidProfilingListener. preOpExecution(SameDiff sd, At at, SameDiffOp op, OpContext opContext) -
Uses of At in org.nd4j.autodiff.samediff
Methods in org.nd4j.autodiff.samediff with parameters of type At Modifier and Type Method Description protected ExecutionResultSameDiff. directExecHelper(Map<String,INDArray> placeholders, Map<String,SDValue> otherPlaceHolders, At at, MultiDataSet batch, Collection<String> requiredActivations, List<Listener> activeListeners, String... outputs)Do inference for the given variables for a single batch, with training informationprotected ExecutionResultSameDiff. directExecHelper(Map<String,INDArray> placeholders, At at, MultiDataSet batch, Collection<String> requiredActivations, List<Listener> activeListeners, String... outputs)Do inference for the given variables for a single batch, with training information -
Uses of At in org.nd4j.autodiff.samediff.internal
Methods in org.nd4j.autodiff.samediff.internal with parameters of type At Modifier and Type Method Description abstract ExecutionResultAbstractSession. getOutputs(O op, FrameIter outputFrameIter, Set<AbstractSession.VarId> inputs, Set<AbstractSession.VarId> allIterInputs, Set<String> constAndPhInputs, List<Listener> listeners, At at, MultiDataSet batch, Set<String> allReqVariables, Map<String,SDValue> otherPlaceHolders)Execute the op - calculate INDArrays, or shape info, etcExecutionResultInferenceSession. getOutputs(Pair<SameDiffOp,OpContext> opPair, FrameIter outputFrameIter, Set<AbstractSession.VarId> opInputs, Set<AbstractSession.VarId> allIterInputs, Set<String> constAndPhInputs, List<Listener> listeners, At at, MultiDataSet batch, Set<String> allReqVariables, Map<String,SDValue> otherPlaceHolders)ExecutionResultTrainingSession. getOutputs(Pair<SameDiffOp,OpContext> opPair, FrameIter outputFrameIter, Set<AbstractSession.VarId> opInputs, Set<AbstractSession.VarId> allIterInputs, Set<String> constAndPhInputs, List<Listener> listeners, At at, MultiDataSet batch, Set<String> allReqVariables, Map<String,SDValue> otherPlaceHolders)ExecutionResultAbstractSession. output(@NonNull List<String> variables, Map<String,T> placeholderValues, Map<String,SDValue> otherPlaceHolderValues, MultiDataSet batch, Collection<String> requiredActivations, List<Listener> listeners, At at)Get the output of the session - i.e., perform inference/forward pass and return the outputs for the specified variablesMap<String,T>AbstractSession. output(@NonNull List<String> variables, Map<String,T> placeholderValues, MultiDataSet batch, Collection<String> requiredActivations, List<Listener> listeners, At at)Get the output of the session - i.e., perform inference/forward pass and return the outputs for the specified variablesprotected Map<String,T>AbstractSession. preprocessPlaceholders(Map<String,T> placeholders, At at)Preprocess the placeholder values, if required.protected Map<String,INDArray>InferenceSession. preprocessPlaceholders(Map<String,INDArray> placeholders, At at)protected Map<String,SDValue>AbstractSession. preprocessValuePlaceholders(Map<String,SDValue> placeholders, At at)Preprocess the placeholder values, if required.LossTrainingSession. trainingIteration(TrainingConfig config, Map<String,INDArray> placeholders, Set<String> paramsToTrain, Map<String,GradientUpdater> updaters, MultiDataSet batch, List<String> lossVariables, List<Listener> listeners, At at)Perform one iteration of training - i.e., do forward and backward passes, and update the parameters -
Uses of At in org.nd4j.autodiff.validation
Methods in org.nd4j.autodiff.validation with parameters of type At Modifier and Type Method Description voidActivationGradientCheckListener. opExecution(SameDiff sd, At at, MultiDataSet batch, SameDiffOp op, OpContext opContext, INDArray[] outputs)
-