# chainer.Summary¶

class chainer.Summary[source]

Online summarization of a sequence of scalars.

Summary computes the statistics of given scalars online.

Methods

add(value)[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).
compute_mean()[source]

Computes the mean.

make_statistics()[source]

Computes and returns the mean and standard deviation values.

Returns: Mean and standard deviation values. tuple
serialize(serializer)[source]