class_docstr: A class that handles the parameters of Tensor Tracer.
class_docstr_tok: ["A","class","that","handles","the","parameters","of","Tensor","Tracer","."]
code: def _get_trace_dir(self):
      found, trace_dir = self.get_flag_value(FLAG_NAME_TRACE_DIR)
      if found and trace_dir and self.use_test_undeclared_outputs_dir():
          raise ValueError(
              "Cannot not use --%s and --%s at the same time"
              % (
                  FLAG_NAME_TRACE_DIR,
                  FLAG_NAME_USE_TEST_UNDECLARED_OUTPUTS_DIR,
              )
          )
      if self.use_test_undeclared_outputs_dir():
          trace_dir = self._env.get(
              _TEST_UNDECLARED_OUTPUTS_DIR_ENV_VAR
          )
      return trace_dir
  
imports: import os
  import os.path
  import re
  from absl import flags
  from tensorflow.python.ops import linalg_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import tf_logging
label_desc: Use image node_id 5 for calling the TTParameters obj's underlying member method code with example usage: obj._get_trace_dir() and returns: trace_dir