class_docstr: A class to normalize data.
class_docstr_tok: ["A","class","to","normalize","data","."]
docstr: Runs data in session to get data_np.
docstr_tok: ["Runs","data","in","session","to","get","data_np","."]
code: def _run_data(self, data):
      """Runs data in session to get data_np."""
      if data is None:
          return None
      data_np = []
      count_examples = 0
      with tf.MonitoredTrainingSession() as sess:
          while count_examples < self._num_examples:
              out = sess.run(data)
              data_np.append(out)
              count_examples += out.shape[0]
      data_np = np.concatenate(data_np, axis=0)
      return data_np
  
imports: import io
  import os
  from absl import logging
  import numpy
  import tensorflow.compat.v1
label_desc: Use image node_id 2 for calling the DataNormalizer obj's underlying member method code with example usage: obj._run_data(data) and returns: data_np, None