class_docstr: Test case class implementing extra test functionalities.
class_docstr_tok: ["Test","case","class","implementing","extra","test","functionalities","."]
docstr: Sets the seed for tensorflow and numpy.
docstr_tok: ["Sets","the","seed","for","tensorflow","and","numpy","."]
code: def setUp(self):  # pylint: disable=invalid-name
      """Sets the seed for tensorflow and numpy."""
      super(TestCase, self).setUp()
      try:
          seed = flags.FLAGS.test_random_seed
      except flags.UnparsedFlagAccessError:
          seed = 301  # Default seed in case test_random_seed is not defined.
      tf.compat.v1.set_random_seed(seed)
      np.random.seed(seed)
      FLAGS[tfg_flags.TFG_ADD_ASSERTS_TO_GRAPH].value = True
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import warnings
  from absl import flags
  from absl.testing import parameterized
  import numpy
  from six.moves import zip
  import tensorflow
  from tensorflow_graphics.util import tfg_flags
label_desc: Use image node_id 1 for calling the TestCase obj's underlying member method code with example usage: obj.setUp() without return types