MCPcopy
hub / github.com/junyanz/iGAN / sharedX

Function sharedX

lib/theano_utils.py:13–14  ·  view source on GitHub ↗
(X, dtype=theano.config.floatX, name=None)

Source from the content-addressed store, hash-verified

11
12
13def sharedX(X, dtype=theano.config.floatX, name=None):
14 return theano.shared(np.asarray(X, dtype=dtype), name=name)
15
16
17def shared0s(shape, dtype=theano.config.floatX, name=None):

Callers 15

def_bfgsFunction · 0.90
def_invertMethod · 0.90
load_batchnormFunction · 0.90
train_predict_z.pyFile · 0.90
train_dcgan.pyFile · 0.90
transform_imFunction · 0.90
__init__Method · 0.90
def_comp_maskMethod · 0.90
get_hogMethod · 0.90
get_paramsFunction · 0.90
__call__Method · 0.85
__call__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected