code: def tearDown(self):
      self.summary.clear_scalars()
      mock.patch.stopall()
      tf_compat.v1.reset_default_graph()
      super(ComplexityRegularizedEnsemblerTest, self).tearDown()
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import contextlib
  from absl.testing import parameterized
  from adanet import ensemble
  from adanet import subnetwork
  from adanet import tf_compat
  from adanet.core.summary import Summary
  import mock
  import tensorflow.compat.v2
  from tensorflow.python.eager import context
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 9 for calling the ComplexityRegularizedEnsemblerTest obj's underlying member method code with example usage: obj.tearDown() without return types