import tensorflow as tf

                    offset = tf.get_variable('offset',[x.get_shape()[-1]],initializer=tf.constant_initializer(0.0))
                    out = scale*tf.div(x-mean, tf.sqrt(var+epsilon)) + offset
