code: def __init__(self, *args, **kwargs):
      super(TestUseCases, self).__init__(*args, **kwargs)
      self.TRAIN_TOTAL_SAMPLES = 3000  # use less data
      self.VALID_TOTAL_SAMPLES = 1000  # use less data
      self.TEST_TOTAL_SAMPLES = 1000
      np.random.seed(1337)
      self._create_data()
  
imports: import pytest
  from unittest import TestCase
  import bigdl.nano.automl
  import tensorflow
  import tensorflow.keras
  import numpy
  import bigdl.nano.automl.hpo.space
  from bigdl.nano.tf.keras import Input
  from bigdl.nano.tf.keras.layers import Dense, Conv2D, Flatten, Dropout
  from bigdl.nano.automl.tf.keras import Model, Sequential
  from bigdl.nano.tf.optimizers import Adam, RMSprop
  import bigdl.nano.automl.hpo
  from bigdl.nano.automl.hpo.backend import PrunerType, SamplerType
label_desc: Use image node_id 1 to create a new TestUseCases object from inherited base classes: TestCase with example: obj = TestUseCases()