(self)
| 55 | self.assertGreater(lim, abs(output.min() - target_min)) |
| 56 | |
| 57 | def test_uniform(self): |
| 58 | shape = (9, 6, 99) |
| 59 | with self.cached_session(): |
| 60 | for tensor_shape in [shape, tensor_shape_lib.TensorShape(shape)]: |
| 61 | self._runner( |
| 62 | init_ops.RandomUniform(minval=-1, maxval=1, seed=124), |
| 63 | tensor_shape, |
| 64 | target_mean=0., |
| 65 | target_max=1, |
| 66 | target_min=-1) |
| 67 | |
| 68 | def test_normal(self): |
| 69 | shape = (8, 12, 99) |
nothing calls this directly
no test coverage detected