class_docstr: Common methods used in PerfZero Benchmarks.
  
  Handles the resetting of flags between tests. PerfZero (OSS) runs each test
  in a separate process reducing some need to reset the flags.
class_docstr_tok: ["Common","methods","used","in","PerfZero","Benchmarks",".","Handles","the","resetting","of","flags","between","tests",".","PerfZero","(","OSS",")","runs","each","test","in","a","separate","process","reducing","some","need","to","reset","the","flags","."]
docstr: Returns directory to store info, e.g. saved model and event log.
docstr_tok: ["Returns","directory","to","store","info",",","e.g",".","saved","model","and","event","log","."]
code: def _get_test_output_dir(self, folder_name):
      """Returns directory to store info, e.g. saved model and event log."""
      return os.path.join(self.output_dir, folder_name)
  
file_path: agents/tf_agents/benchmark/perfzero_benchmark.py
imports: import os
  from typing import Optional, Union
  from absl import flags
  from absl import logging
  from absl.testing import flagsaver
  import tensorflow
label_desc: Use image node_id 2 for calling the PerfZeroBenchmark obj's underlying member method code with example usage: obj._get_test_output_dir(folder_name) and returns: os