code: def setUp(self):
      super().setUp()
      tf.compat.v1.reset_default_graph()
  
imports: import math
  import tensorflow
  from tensorflow_ranking.python import losses
  from tensorflow_ranking.python import losses_impl
label_desc: Use image node_id 1 for calling the LossMetricTest obj's underlying member method code with example usage: obj.setUp() without return types