class_docstr: CMVN unittest Class
docstr: test apply_local_cmvn() 
docstr_tok: ["test","apply_local_cmvn","(",")"]
code: def testApplyLocalCmvn(self):  # pylint: disable=invalid-name
      """test apply_local_cmvn()"""
      np.random.seed(12)
      tf.set_random_seed(12)
  
      feat_size = 40
      delta_deltas = True
  
      feat_shape = [2, 10, feat_size, 3 if delta_deltas else 1]
      feat = np.random.randn(*feat_shape)
      feat = feat.astype(np.float32)
  
      mean = np.mean(feat, axis=1, keepdims=True)
      var = np.var(feat, axis=1, keepdims=True)
      eps = 1e-9
      feat_true = (feat - mean) / np.sqrt(var + eps)
  
      feat = tf.constant(feat)
  
      feat_out = utils.apply_local_cmvn(feat, epsilon=eps)
      with self.cached_session(use_gpu=False, force_gpu=False):
          self.assertAllClose(feat_out.eval(), feat_true)
  
file_path: delta/delta/utils/cmvn_test.py
imports: import os
  import numpy
  import delta.compat
  from delta import utils
label_desc: Use image node_id 8 for calling the CmvnTest obj's underlying member method code with example usage: obj.testApplyLocalCmvn() without return types