code: def setup_method(self, method):
      tf.keras.backend.clear_session()
      super(TestTFParkTFOptimizer, self).setup_method(method)
  
file_path: analytics-zoo/pyzoo/test/zoo/tfpark/test_tfpark_tfoptimizer.py
imports: import pytest
  from bigdl.optim.optimizer import Adam, SGD, MaxEpoch
  from zoo.pipeline.api.keras.metrics import Accuracy
  from test.zoo.pipeline.utils.test_utils import ZooTestCase
  import tensorflow
  import numpy
  import tempfile
  import os
  from zoo.tfpark import TFDataset, TFOptimizer
label_desc: Use image node_id 1 for calling the TestTFParkTFOptimizer obj's underlying member method code with example usage: obj.setup_method(method) without return types