class_docstr: A csv data provider.
class_docstr_tok: ["A","csv","data","provider","."]
code: def __init__(self):
      self._filename = FLAGS.filename
      self._validation_filename = FLAGS.validation_filename
      self._logits_dimension = FLAGS.logits_dimension
      self._record_defaults = [
          float(i) for i in FLAGS.record_defaults.split(",")
      ]
      self._field_delim = FLAGS.field_delim
      self._label_index = FLAGS.label_index
      # Indices of the features
      self._features = [
          str(i) for i in range(len(self._record_defaults))
      ]
  
      # For testing only.
      if "${TEST_SRCDIR}" in self._filename:
          self._filename = self._filename.replace(
              "${TEST_SRCDIR}", FLAGS.test_srcdir
          )
      if "${TEST_SRCDIR}" in self._validation_filename:
          self._validation_filename = self._validation_filename.replace(
              "${TEST_SRCDIR}", FLAGS.test_srcdir
          )
  
file_path: model_search/model_search/data/csv_data_for_binary.py
imports: from absl import flags
  from model_search.data import data
  import numpy
  import pandas
  import tensorflow.compat.v2
label_desc: Use image node_id 1 to create a new Provider object from inherited base classes: data with example: obj = Provider()