public class ModelAndGradient
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ModelAndGradient() |
ModelAndGradient(Model model) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.Map<java.lang.String,org.nd4j.linalg.api.ndarray.INDArray> |
getGradients() |
long |
getLastUpdateTime() |
java.util.List<java.lang.String> |
getLayerNames() |
java.util.Map<java.lang.String,org.nd4j.linalg.api.ndarray.INDArray> |
getParameters() |
java.util.List<java.util.Map<java.lang.String,java.util.List<java.lang.Double>>> |
getParamMagnitudes() |
java.lang.String |
getPath() |
double |
getScore() |
java.util.List<java.lang.Double> |
getScores() |
java.util.List<java.util.Map<java.lang.String,java.util.List<java.lang.Double>>> |
getUpdateMagnitudes() |
int |
hashCode() |
void |
setGradients(java.util.Map<java.lang.String,org.nd4j.linalg.api.ndarray.INDArray> gradients) |
void |
setLastUpdateTime(long lastUpdateTime) |
void |
setLayerNames(java.util.List<java.lang.String> layerNames) |
void |
setParameters(java.util.Map<java.lang.String,org.nd4j.linalg.api.ndarray.INDArray> parameters) |
void |
setParamMagnitudes(java.util.List<java.util.Map<java.lang.String,java.util.List<java.lang.Double>>> paramMagnitudes) |
void |
setPath(java.lang.String path) |
void |
setScore(double score) |
void |
setScores(java.util.List<java.lang.Double> scores) |
void |
setUpdateMagnitudes(java.util.List<java.util.Map<java.lang.String,java.util.List<java.lang.Double>>> updateMagnitudes) |
public ModelAndGradient()
public ModelAndGradient(Model model)
public void setLastUpdateTime(long lastUpdateTime)
public long getLastUpdateTime()
public double getScore()
public void setScore(double score)
public java.util.Map<java.lang.String,org.nd4j.linalg.api.ndarray.INDArray> getParameters()
public void setParameters(java.util.Map<java.lang.String,org.nd4j.linalg.api.ndarray.INDArray> parameters)
public java.util.Map<java.lang.String,org.nd4j.linalg.api.ndarray.INDArray> getGradients()
public void setGradients(java.util.Map<java.lang.String,org.nd4j.linalg.api.ndarray.INDArray> gradients)
public void setScores(java.util.List<java.lang.Double> scores)
public void setPath(java.lang.String path)
public java.lang.String getPath()
public java.util.List<java.lang.Double> getScores()
public void setUpdateMagnitudes(java.util.List<java.util.Map<java.lang.String,java.util.List<java.lang.Double>>> updateMagnitudes)
public java.util.List<java.util.Map<java.lang.String,java.util.List<java.lang.Double>>> getUpdateMagnitudes()
public void setParamMagnitudes(java.util.List<java.util.Map<java.lang.String,java.util.List<java.lang.Double>>> paramMagnitudes)
public java.util.List<java.util.Map<java.lang.String,java.util.List<java.lang.Double>>> getParamMagnitudes()
public void setLayerNames(java.util.List<java.lang.String> layerNames)
public java.util.List<java.lang.String> getLayerNames()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object