code: def set_up(self, test):
      # Enable soft device placement to run distributed doctests.
      tf.config.set_soft_device_placement(True)
      self.setUp()
      context.async_wait()
  
imports: import importlib
  import os
  import pkgutil
  import sys
  from absl import flags
  from absl.testing import absltest
  import numpy
  import tensorflow.compat.v2
  from tensorflow.python.eager import context
  from tensorflow.python.ops import logging_ops
  from tensorflow.tools.docs import tf_doctest_lib
  import doctest
label_desc: Use image node_id 1 for calling the TfTestCase obj's underlying member method code with example usage: obj.set_up(test) without return types