(self)
| 158 | target_std=std) |
| 159 | |
| 160 | def test_he_normal(self): |
| 161 | shape = (5, 6, 4, 2) |
| 162 | with self.cached_session(): |
| 163 | for tensor_shape in [shape, tensor_shape_lib.TensorShape(shape)]: |
| 164 | fan_in, _ = init_ops._compute_fans(tensor_shape) |
| 165 | std = np.sqrt(2. / fan_in) |
| 166 | self._runner( |
| 167 | init_ops.he_normal(seed=123), |
| 168 | tensor_shape, |
| 169 | target_mean=0., |
| 170 | target_std=std) |
| 171 | |
| 172 | def test_Orthogonal(self): |
| 173 | shape = (20, 20) |
nothing calls this directly
no test coverage detected