code: def _compute_weights(self):
      
      with tf.variable_scope("compute_weights"):
        self.layer.kernel = tf.nn.l2_normalize(
            self.layer.v, axis=self.norm_axes) * self.layer.g
docs: Generate weights with normalization.