Categories
Misc

tf.compat.v1.layers.batch_normalization vs tf.contrib.layers.batch_norm

Hi all,

I’ve a TF1.X code with the tf.contrib.layers.batch_norm layer, and Im not sure how to replace it, is it with the tf.compat.v1.layers.batch_normalization layer? Certain variables, such as data_format and scope, are no longer present, so Im not sure it is the correct replacement.

submitted by /u/dxjustice
[visit reddit] [comments]

Leave a Reply

Your email address will not be published.