public final class SgdOptimizer extends Object implements Optimizer, Serializable
Constructor and Description |
---|
SgdOptimizer(AbstractLayer layer) |
Modifier and Type | Method and Description |
---|---|
float |
calculateDeltaBias(float gradient,
int idx) |
float |
calculateDeltaWeight(float gradient,
int... index) |
void |
setLearningRate(float learningRate) |
public SgdOptimizer(AbstractLayer layer)
public float calculateDeltaWeight(float gradient, int... index)
calculateDeltaWeight
in interface Optimizer
public float calculateDeltaBias(float gradient, int idx)
calculateDeltaBias
in interface Optimizer
public void setLearningRate(float learningRate)
setLearningRate
in interface Optimizer
Copyright © 2022. All rights reserved.