public class HistoryListener extends BaseEvaluationListener
History
instanceConstructor and Description |
---|
HistoryListener(ListenerEvaluations evaluations) |
HistoryListener(TrainingConfig tc) |
Modifier and Type | Method and Description |
---|---|
ListenerResponse |
epochEndEvaluations(SameDiff sd,
At at,
LossCurve lossCurve,
long epochTimeMillis,
EvaluationRecord evaluations)
See
Listener.epochEnd(SameDiff, At, LossCurve, long) , also provided the requested evaluations |
ListenerEvaluations |
evaluations()
Return the requested evaluations.
|
History |
getReport() |
boolean |
isActive(Operation operation)
Returns whether this listener is active during the given operation.
|
HistoryListener |
newInstance() |
void |
operationEnd(SameDiff sd,
Operation op)
Called at the end of an operation, e.g.
|
void |
operationStart(SameDiff sd,
Operation op)
Called at the start of an operation, e.g.
|
ListenerResponse |
validationDoneEvaluations(SameDiff sd,
At at,
long validationTimeMillis,
EvaluationRecord evaluations)
See
Listener.validationDone(SameDiff, At, long) , also provided the requested evaluations |
activationAvailable, activationAvailableEvaluations, epochEnd, epochStart, epochStartEvaluations, otherRequiredVariables, requiredVariables, validationDone
iterationDone, iterationStart, opExecution, preOpExecution, preUpdate
public HistoryListener(TrainingConfig tc)
public HistoryListener(ListenerEvaluations evaluations)
public HistoryListener newInstance()
public ListenerEvaluations evaluations()
BaseEvaluationListener
evaluations
in class BaseEvaluationListener
public boolean isActive(Operation operation)
Listener
public ListenerResponse epochEndEvaluations(SameDiff sd, At at, LossCurve lossCurve, long epochTimeMillis, EvaluationRecord evaluations)
BaseEvaluationListener
Listener.epochEnd(SameDiff, At, LossCurve, long)
, also provided the requested evaluationsepochEndEvaluations
in class BaseEvaluationListener
public ListenerResponse validationDoneEvaluations(SameDiff sd, At at, long validationTimeMillis, EvaluationRecord evaluations)
BaseEvaluationListener
Listener.validationDone(SameDiff, At, long)
, also provided the requested evaluationsvalidationDoneEvaluations
in class BaseEvaluationListener
public void operationStart(SameDiff sd, Operation op)
Listener
operationStart
in interface Listener
operationStart
in class BaseListener
sd
- The SameDiff instanceop
- The operation being startedpublic void operationEnd(SameDiff sd, Operation op)
Listener
operationEnd
in interface Listener
operationEnd
in class BaseListener
sd
- The SameDiff instanceop
- The operation being startedpublic History getReport()
Copyright © 2020. All rights reserved.