message: Update tensor utils to make layer normalization method more readable.
diff: @@ -169,6 +169,18 @@ void MatrixBatchVectorMultiplyAccumulate(const int8_t* input,
  int32_t n_output, int32_t output_zp,
  int32_t* scratch, int8_t* output);
  +// Apply Layer Normalization (https://arxiv.org/abs/1607.06450) to a Quantized
  +// vector.
  +// Parameters:
  +// - input: batch vector of size n_batch * n_input; 16 bit.
  +// - layer_norm_weights: the quantized layer normalization weights.
  +// - bias: the bias for the layer normalization.
  +// - layer_norm_scale_a: multiplier for scale factor.
  +// - layer_norm_scale_b: shift for scale factor.
  +// - variance_limit: the guard to make sure the inverse does not overflow.
  +// - n_batch: the number of batch.
  +// - n_input: the size for input and output.
  +// - output: the 16 bit output
  void ApplyLayerNorm(const int16_t* input, const int16_t* layer_norm_weights,
  const int32_t* bias, int32_t layer_norm_scale_a,
  int32_t layer_norm_scale_b, int32_t variance_limit,
  