def test_xavier_uniform(self):
    self._test_variance(
        initializers.variance_scaling_initializer,
        shape=[100, 40],
        variance=2. / (100. + 40.),
        factor=1.0,
        mode='FAN_AVG',
        uniform=True)