| Modifier and Type | Method and Description |
|---|---|
Loss |
Loss.add(Loss other) |
static Loss |
Loss.add(Loss a,
Loss b) |
static Loss |
Loss.average(List<Loss> losses) |
Loss |
Loss.copy() |
static Loss |
Loss.div(Loss a,
Number b) |
Loss |
Loss.div(Number other) |
Loss |
Loss.minus(Loss other) |
Loss |
Loss.plus(Loss other) |
Loss |
Loss.sub(Loss other) |
static Loss |
Loss.sub(Loss a,
Loss b) |
static Loss |
Loss.sum(List<Loss> losses) |
| Modifier and Type | Method and Description |
|---|---|
Loss |
Loss.add(Loss other) |
static Loss |
Loss.add(Loss a,
Loss b) |
static Loss |
Loss.div(Loss a,
Number b) |
void |
BaseListener.iterationDone(SameDiff sd,
At at,
MultiDataSet dataSet,
Loss loss) |
void |
Listener.iterationDone(SameDiff sd,
At at,
MultiDataSet dataSet,
Loss loss)
Called at the end of every iteration, after all operations (including updating parameters) has been completed
|
Loss |
Loss.minus(Loss other) |
Loss |
Loss.plus(Loss other) |
Loss |
Loss.sub(Loss other) |
static Loss |
Loss.sub(Loss a,
Loss b) |
| Modifier and Type | Method and Description |
|---|---|
static Loss |
Loss.average(List<Loss> losses) |
static Loss |
Loss.sum(List<Loss> losses) |
| Modifier and Type | Method and Description |
|---|---|
void |
CheckpointListener.iterationDone(SameDiff sd,
At at,
MultiDataSet dataSet,
Loss loss) |
| Modifier and Type | Method and Description |
|---|---|
void |
ScoreListener.iterationDone(SameDiff sd,
At at,
MultiDataSet dataSet,
Loss loss) |
void |
UIListener.iterationDone(SameDiff sd,
At at,
MultiDataSet dataSet,
Loss loss) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProfilingListener.iterationDone(SameDiff sd,
At at,
MultiDataSet dataSet,
Loss loss) |
| Modifier and Type | Method and Description |
|---|---|
Loss |
LossCurve.lastMeanDelta()
Return the loss delta between the last epoch and the one before it.
|
Loss |
LossCurve.lastMeanLoss()
Get the mean loss for the last epoch.
|
Loss |
LossCurve.meanLoss(int epoch)
Get the mean loss for a given epoch
If epoch is negative, counts backwards from the end.
|
| Modifier and Type | Method and Description |
|---|---|
List<Loss> |
LossCurve.losses() |
| Modifier and Type | Method and Description |
|---|---|
LossCurve |
LossCurve.addLossAndCopy(Loss loss)
Return a new LossCurve with the given losses added on as the most recent epoch
|
| Constructor and Description |
|---|
LossCurve(List<Loss> losses) |
| Modifier and Type | Method and Description |
|---|---|
Loss |
TrainingSession.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
|
Copyright © 2021. All rights reserved.