public interface StatsUpdateConfiguration
extends java.io.Serializable
StatsInitializationConfiguration
, StatsUpdateConfiguration is an interface defining the stats
that should be collected and reported periodically.
In some implementations, this configuration may vary over time (i.e., stats may in principle be reconfigured by the user)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
collectHistograms(StatsType) |
int |
reportingFrequency()
Get the reporting frequency, in terms of listener calls
|
int reportingFrequency()
boolean collectPerformanceStats()
boolean collectMemoryStats()
boolean collectGarbageCollectionStats()
boolean collectLearningRates()
boolean collectHistograms(StatsType type)
type
- Stats type: Parameters, Updates, Activationsint numHistogramBins(StatsType type)
collectHistograms(StatsType)
type
- Stats type: Parameters, Updates, Activatinosboolean collectMean(StatsType type)
type
- Stats type: Parameters, Updates, Activationsboolean collectStdev(StatsType type)
type
- Stats type: Parameters, Updates, Activationsboolean collectMeanMagnitudes(StatsType type)
type
- Stats type: Parameters, Updates, Activations