code: def _configure_normalization(
      self, x_ref: tf.Tensor, eps: float = 1e-12
  ):
      x_ref_means = tf.reduce_mean(x_ref, axis=0)
      x_ref_stds = tf.math.reduce_std(x_ref, axis=0)
      self._normalize = lambda x: (x - x_ref_means) / (x_ref_stds + eps)
      self._unnormalize = lambda x: (
          x * (x_ref_stds + eps) + x_ref_means
      ).numpy()
  
file_path: alibi-detect/alibi_detect/cd/tensorflow/lsdd.py
imports: import numpy
  import tensorflow
  from typing import Callable, Dict, Optional, Tuple, Union
  from alibi_detect.cd.base import BaseLSDDDrift
  from alibi_detect.utils.tensorflow.kernels import GaussianRBF
  from alibi_detect.utils.tensorflow.distance import permed_lsdds
  from alibi_detect.utils.warnings import deprecated_alias
  from alibi_detect.utils.frameworks import Framework
label_desc: Use image node_id 3 for calling the LSDDDriftTF obj's underlying member method code with example usage: obj._configure_normalization(x_ref, eps) without return types