def test_glorot_uniform(tensor_shape): scale = np.sqrt(6. / (SHAPE[0] + SHAPE[1])) _runner(initializations.glorot_uniform, tensor_shape, target_mean=0., target_max=scale, target_min=-scale)