def check_statistics(self, x):
        x = chainer.Variable(x)
        self.link(x, finetune=True)
        gradient_check.assert_allclose(self.x.mean(axis=0), self.link.avg_mean)
        unbiased_var = self.x.var(axis=0) * self.nx / (self.nx - 1)
        gradient_check.assert_allclose(unbiased_var, self.link.avg_var)
dataset/ETHPy150Open pfnet/chainer/tests/chainer_tests/links_tests/normalization_tests/test_batch_normalization.py/TestPopulationStatistics.check_statistics/original