pytorch_pfn_extras.training.extensions.variable_statistics_plot.Statistician#
- class pytorch_pfn_extras.training.extensions.variable_statistics_plot.Statistician(collect_mean, collect_std, percentile_sigmas)#
Bases:
object
Helper to compute basic NumPy-like statistics.
Methods
__init__
(collect_mean, collect_std, ...)collect
(x, axis)- Parameters:
collect_mean (bool) –
collect_std (bool) –
percentile_sigmas (Union[float, Tuple[float, ...]]) –
- __call__(x, axis=0, dtype=None)#
Call self as a function.
- Parameters:
x (Any) –
axis (Any) –
dtype (Optional[Any]) –
- Return type:
Dict[str, Any]
- __init__(collect_mean, collect_std, percentile_sigmas)#
- Parameters:
collect_mean (bool) –
collect_std (bool) –
percentile_sigmas (Union[float, Tuple[float, ...]]) –
- Return type:
None
- collect(x, axis)#
- Parameters:
x (Any) –
axis (int) –
- Return type:
Dict[str, Any]