public class DefaultStatsUpdateConfiguration extends java.lang.Object implements StatsUpdateConfiguration
Modifier and Type | Class and Description |
---|---|
static class |
DefaultStatsUpdateConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
collectGarbageCollectionStats()
Should garbage collection stats be collected and reported?
|
boolean |
collectHistograms(StatsType type)
Should histograms (per parameter type, or per layer for activations) of the given type be collected?
|
boolean |
collectLearningRates()
Should per-parameter type learning rates be collected and reported?
|
boolean |
collectMean(StatsType type)
Should the mean values (per parameter type, or per layer for activations) be collected?
|
boolean |
collectMeanMagnitudes(StatsType type)
Should the mean magnitude values (per parameter type, or per layer for activations) be collected?
|
boolean |
collectMemoryStats()
Should JVM, off-heap and memory stats be collected/reported?
|
boolean |
collectPerformanceStats()
Should performance stats be collected/reported?
Total time, total examples, total batches, Minibatches/second, examples/second
|
boolean |
collectStdev(StatsType type)
Should the standard devication values (per parameter type, or per layer for activations) be collected?
|
int |
numHistogramBins(StatsType type)
Get the number of histogram bins to use for the given type (for use with
StatsUpdateConfiguration.collectHistograms(StatsType) |
int |
reportingFrequency()
Get the reporting frequency, in terms of listener calls
|
public int reportingFrequency()
StatsUpdateConfiguration
reportingFrequency
in interface StatsUpdateConfiguration
public boolean collectPerformanceStats()
StatsUpdateConfiguration
collectPerformanceStats
in interface StatsUpdateConfiguration
public boolean collectMemoryStats()
StatsUpdateConfiguration
collectMemoryStats
in interface StatsUpdateConfiguration
public boolean collectGarbageCollectionStats()
StatsUpdateConfiguration
collectGarbageCollectionStats
in interface StatsUpdateConfiguration
public boolean collectLearningRates()
StatsUpdateConfiguration
collectLearningRates
in interface StatsUpdateConfiguration
public boolean collectHistograms(StatsType type)
StatsUpdateConfiguration
collectHistograms
in interface StatsUpdateConfiguration
type
- Stats type: Parameters, Updates, Activationspublic int numHistogramBins(StatsType type)
StatsUpdateConfiguration
StatsUpdateConfiguration.collectHistograms(StatsType)
numHistogramBins
in interface StatsUpdateConfiguration
type
- Stats type: Parameters, Updates, Activatinospublic boolean collectMean(StatsType type)
StatsUpdateConfiguration
collectMean
in interface StatsUpdateConfiguration
type
- Stats type: Parameters, Updates, Activationspublic boolean collectStdev(StatsType type)
StatsUpdateConfiguration
collectStdev
in interface StatsUpdateConfiguration
type
- Stats type: Parameters, Updates, Activationspublic boolean collectMeanMagnitudes(StatsType type)
StatsUpdateConfiguration
collectMeanMagnitudes
in interface StatsUpdateConfiguration
type
- Stats type: Parameters, Updates, Activations