I am getting TypeError: pred must not be a Python bool in the line lambda: (ema_mean, ema_var)) in batch_norm function. Looking forward for the help Above error is while using tf.nn.conv2d_transpose and then batch norm