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

Function floatX

lib/theano_utils.py:7–8  ·  view source on GitHub ↗
(X)

Source from the content-addressed store, hash-verified

5 return np.asarray(X, dtype=np.int32)
6
7def floatX(X):
8 return np.asarray(X, dtype=theano.config.floatX)
9
10def sharedX(X, dtype=theano.config.floatX, name=None):
11 return theano.shared(np.asarray(X, dtype=dtype), name=name)

Callers 13

transformFunction · 0.90
gen_samplesFunction · 0.90
load_pretrained.pyFile · 0.90
__call__Method · 0.90
gpu_nnc_predictFunction · 0.90
gpu_nnd_scoreFunction · 0.90
infer_bnorm_statsFunction · 0.90
featuresFunction · 0.90
transformFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected