code: def setup_method(self):
      super().setup_method()
      self.temp_dir = tempfile.TemporaryDirectory()
      self.snapshot_config = SnapshotConfig(
          snapshot_dir=self.temp_dir.name,
          snapshot_mode="last",
          snapshot_gap=1,
      )
      self.policy_params = fixture_exp(self.snapshot_config, self.sess)
      for c in self.graph.collections:
          self.graph.clear_collection(c)
  
file_path: garage/tests/garage/experiment/test_resume.py
imports: import tempfile
  import numpy
  import tensorflow
  from garage.experiment import SnapshotConfig
  from garage.trainer import TFTrainer
  from tests.fixtures import TfGraphTestCase
  from tests.fixtures.experiment import fixture_exp
label_desc: Use image node_id 1 for calling the TestResume obj's underlying member method code with example usage: obj.setup_method() without return types