def test_xavier_scalar(self):
    self._test_variance(
        initializers.variance_scaling_initializer,
        shape=[],
        variance=0.0,
        factor=1.0,
        mode='FAN_AVG',
        uniform=False)