public class HistoryListener extends BaseEvaluationListener
| Constructor 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, validationDoneiterationDone, iterationStart, opExecution, preOpExecution, preUpdatepublic HistoryListener(TrainingConfig tc)
public HistoryListener(ListenerEvaluations evaluations)
public HistoryListener newInstance()
public ListenerEvaluations evaluations()
BaseEvaluationListenerevaluations in class BaseEvaluationListenerpublic boolean isActive(Operation operation)
Listenerpublic ListenerResponse epochEndEvaluations(SameDiff sd, At at, LossCurve lossCurve, long epochTimeMillis, EvaluationRecord evaluations)
BaseEvaluationListenerListener.epochEnd(SameDiff, At, LossCurve, long), also provided the requested evaluationsepochEndEvaluations in class BaseEvaluationListenerpublic ListenerResponse validationDoneEvaluations(SameDiff sd, At at, long validationTimeMillis, EvaluationRecord evaluations)
BaseEvaluationListenerListener.validationDone(SameDiff, At, long), also provided the requested evaluationsvalidationDoneEvaluations in class BaseEvaluationListenerpublic void operationStart(SameDiff sd, Operation op)
ListeneroperationStart in interface ListeneroperationStart in class BaseListenersd - The SameDiff instanceop - The operation being startedpublic void operationEnd(SameDiff sd, Operation op)
ListeneroperationEnd in interface ListeneroperationEnd in class BaseListenersd - The SameDiff instanceop - The operation being startedpublic History getReport()
Copyright © 2021. All rights reserved.