def testHeNormal(self): shape = (5, 6, 4, 2) fan_in, _ = init_ops_v2._compute_fans(shape) std = np.sqrt(2. / fan_in) self._range_test(init_ops_v2.he_normal(seed=123), shape, target_mean=0., target_std=std)
def testHeNormal(self): shape = (5, 6, 4, 2) fan_in, _ = init_ops_v2._compute_fans(shape) std = np.sqrt(2. / fan_in) self._range_test( init_ops_v2.he_normal(seed=123), shape, target_mean=0., target_std=std)