code: def setUp(self):
      super(TFRankingDASALCTest, self).setUp()
      tf.compat.v1.reset_default_graph()
  
      # Prepares model directory, and train and eval data.
      self._base_model_dir = (
          tf.compat.v1.test.get_temp_dir() + "/model/"
      )
      tf.io.gfile.makedirs(self._base_model_dir)
      self._data_file = os.path.join(
          self._base_model_dir, "elwc.tfrecord"
      )
      _write_tfrecord_files(self._data_file)
  
file_path: ranking/tensorflow_ranking/research/dasalc_test.py
imports: import os
  from absl import flags
  from absl.testing import flagsaver
  from absl.testing import parameterized
  import tensorflow
  from google.protobuf import text_format
  from tensorflow_ranking.research import dasalc
  from tensorflow_serving.apis import input_pb2
label_desc: Use image node_id 1 for calling the TFRankingDASALCTest obj's underlying member method code with example usage: obj.setUp() without return types