:py:mod:`running_stats` ======================= .. py:module:: running_stats .. autoapi-nested-parse:: Computation of mean and std from online streams of batches Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: running_stats.RunningStats .. py:class:: RunningStats(loader_dict) .. py:method:: update(batch, i) Update `stats` for a new batch Parameters ---------- batch : array or dict new batch of data whose data can be accessed by the functions in `loader_dict` i : int index indicating that the batch is the i-th batch