We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42c8618 commit 10e162bCopy full SHA for 10e162b
tf_cnn_basic.py
@@ -2,7 +2,7 @@
2
3
4
def BN(data, bn_momentum=0.9, name=None):
5
- return tf.contrib.layers.batch_norm(data, momentum=bn_momentum, name=('%s__bn' % name))
+ return tf.layers.batch_normalization(data, momentum=bn_momentum, name=('%s__bn' % name))
6
7
8
def AC(data, name=None):
0 commit comments