test_running_stats#

Tests for computing mean and std in running batches

Module Contents#

Classes#

TestRunningStats

A suite of tests verifying mean and std in running batches

class test_running_stats.TestRunningStats(methodName='runTest')[source]#

Bases: unittest.TestCase

A suite of tests verifying mean and std in running batches

classmethod setUpClass()[source]#

Set global defaults for tests

test_running_mean_np()[source]#

Test running mean computation on np array

test_running_std_np()[source]#

Test running std computation on np array

test_running_stats()[source]#

Test running mean, std computation on torch using RunningStats