Class CompactModelAndGradient
- java.lang.Object
-
- org.deeplearning4j.ui.model.weights.beans.CompactModelAndGradient
-
- All Implemented Interfaces:
Serializable
public class CompactModelAndGradient extends Object implements Serializable
Slightly modified version of ModelAndGradient, with binned params/gradients, suitable for fast network transfers for HistogramIterationListener- Author:
- Adam Gibson
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CompactModelAndGradient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Map<String,Map>
getGradients()
long
getLastUpdateTime()
List<String>
getLayerNames()
Map<String,Map>
getParameters()
List<Map<String,List<Double>>>
getParamMagnitudes()
String
getPath()
double
getScore()
List<Double>
getScores()
List<Map<String,List<Double>>>
getUpdateMagnitudes()
int
hashCode()
void
setGradients(Map<String,Map> gradients)
void
setLastUpdateTime(long lastUpdateTime)
void
setLayerNames(List<String> layerNames)
void
setParameters(Map<String,Map> parameters)
void
setParamMagnitudes(List<Map<String,List<Double>>> paramMagnitudes)
void
setPath(String path)
void
setScore(double score)
void
setScores(List<Double> scores)
void
setUpdateMagnitudes(List<Map<String,List<Double>>> updateMagnitudes)
-
-
-
Method Detail
-
setLastUpdateTime
public void setLastUpdateTime(long lastUpdateTime)
-
getLastUpdateTime
public long getLastUpdateTime()
-
getScore
public double getScore()
-
setScore
public void setScore(double score)
-
setPath
public void setPath(String path)
-
getPath
public String getPath()
-
setUpdateMagnitudes
public void setUpdateMagnitudes(List<Map<String,List<Double>>> updateMagnitudes)
-
-