MCPcopy Create free account
hub / github.com/OUCMachineLearning/OUCML / batch_norm

Function batch_norm

GAN/Self_attention_GAN_tensorflow/ops.py:146–150  ·  view source on GitHub ↗
(x, is_training=True, scope='batch_norm')

Source from the content-addressed store, hash-verified

144##################################################################################
145
146def batch_norm(x, is_training=True, scope='batch_norm'):
147 return tf_contrib.layers.batch_norm(x,
148 decay=0.9, epsilon=1e-05,
149 center=True, scale=True, updates_collections=None,
150 is_training=is_training, scope=scope)
151
152def spectral_norm(w, iteration=1):
153 w_shape = w.shape.as_list()

Callers 4

generatorMethod · 0.85
discriminatorMethod · 0.85
resblockFunction · 0.85
batch_normalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected