| 8 | from rng import np_rng |
| 9 | |
| 10 | class Uniform(object): |
| 11 | def __init__(self, scale=0.05): |
| 12 | self.scale = 0.05 |
| 13 | |
| 14 | def __call__(self, shape, name=None): |
| 15 | return sharedX(np_rng.uniform(low=-self.scale, high=self.scale, size=shape), name=name) |
| 16 | |
| 17 | class Normal(object): |
| 18 | def __init__(self, loc=0., scale=0.05): |
nothing calls this directly
no outgoing calls
no test coverage detected