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

Function conv_cond_concat

lib/ops.py:46–50  ·  view source on GitHub ↗

concatenate conditioning vector on feature map axis

(x, y)

Source from the content-addressed store, hash-verified

44 return X
45
46def conv_cond_concat(x, y):
47 """
48 concatenate conditioning vector on feature map axis
49 """
50 return T.concatenate([x, y*T.ones((x.shape[0], y.shape[1], x.shape[2], x.shape[3]))], axis=1)
51
52def batchnorm(X, g=None, b=None, u=None, s=None, a=1., e=1e-8):
53 """

Callers 2

genFunction · 0.90
discrimFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected