import tensorflow as tf

        processed_l2_h2 = self.ff_nl(processed_l2_h2)
        if self.batch_norm:
            with tf.variable_scope(
                    'l3_h2_bn_ff_%s' % idx,
                    reuse=self.scope_reuse) as scope:
                processed_l2_h2 = tf.contrib.layers.batch_norm(
                    inputs=processed_l2_h2,
                    scale=True,
                    center=True,
                    fused=True,
