(x, is_training=True, scope='batch_norm')
| 144 | ################################################################################## |
| 145 | |
| 146 | def 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 | |
| 152 | def spectral_norm(w, iteration=1): |
| 153 | w_shape = w.shape.as_list() |
no outgoing calls
no test coverage detected