(self, n, seed=None)
| 168 | return tensor_shape.TensorShape([]) |
| 169 | |
| 170 | def _sample_n(self, n, seed=None): |
| 171 | shape = array_ops.concat([[n], self.batch_shape_tensor()], 0) |
| 172 | samples = random_ops.random_uniform(shape=shape, |
| 173 | dtype=self.dtype, |
| 174 | seed=seed) |
| 175 | return self.low + self.range() * samples |
| 176 | |
| 177 | def _prob(self, x): |
| 178 | broadcasted_x = x * array_ops.ones( |
nothing calls this directly
no test coverage detected