Skip to content

Commit

Permalink
Update index.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrilJl authored May 28, 2024
1 parent bb3bc8e commit 3547ffd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ For more details on usage and available classes, please refer to the documentati
Performance
-----------

In addition to result accuracy, much attention has been given to computation times and memory usage. For example, calculating the variance using `batchstats` consumes less RAM and is faster than `numpy.var`:
In addition to result accuracy, much attention has been given to computation times and memory usage. For example, calculating the variance using ``batchstats`` consumes less RAM and is faster than ``numpy.var``:

.. code-block:: python
Expand Down Expand Up @@ -108,4 +108,4 @@ While the previous ``Batch*`` classes exclude every sample containing at least o
for batch_data in np.array_split(data, n_batches):
batchsum.update_batch(batch=batch_data)
np.allclose(np.nansum(data, axis=0), batchsum())
>>> True
>>> True

0 comments on commit 3547ffd

Please sign in to comment.