'Adds a batch normalization layer to this model.
See ArXiv 1502.03167v3 for details.'

def add_batch_norm(self, scale=False):

    with tf.variable_scope(self._get_layer_str()):
        out = tf.contrib.layers.batch_norm(self.get_output(), scale=scale)
    self.outputs.append(out)
    return self
