MCPcopy Create free account
hub / github.com/Newmu/dcgan_code / __init__

Method __init__

lib/inits.py:11–12  ·  view source on GitHub ↗
(self, scale=0.05)

Source from the content-addressed store, hash-verified

9
10class 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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected