chainer.Summary¶
-
class
chainer.Summary[source]¶ Online summarization of a sequence of scalars.
Summary computes the statistics of given scalars online.
Methods
-
add(value, weight=1)[source]¶ Adds a scalar value.
- Parameters
value – Scalar value to accumulate. It is either a NumPy scalar or a zero-dimensional array (on CPU or GPU).
weight – An optional weight for the value. It is a NumPy scalar or a zero-dimensional array (on CPU or GPU). Default is 1 (integer).
-
make_statistics()[source]¶ Computes and returns the mean and standard deviation values.
- Returns
Mean and standard deviation values.
- Return type
-
__eq__()¶ Return self==value.
-
__ne__()¶ Return self!=value.
-
__lt__()¶ Return self<value.
-
__le__()¶ Return self<=value.
-
__gt__()¶ Return self>value.
-
__ge__()¶ Return self>=value.
-