org.deeplearning4j.ui.weights.beans.CompactModelAndGradient Maven / Gradle / Ivy
package org.deeplearning4j.ui.weights.beans;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* Slightly modified version of ModelAndGradient, with binned params/gradients, suitable for fast network transfers for HistogramIterationListener
*
* @author Adam Gibson
*/
public class CompactModelAndGradient implements Serializable {
private long lastUpdateTime = -1L;
private Map parameters;
private Map gradients;
private double score;
private List scores = new ArrayList<>();
private List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy