code: def _import_should_raise(self):
      with self.assertRaises(ImportError):
          from bigdl.nano.tf.keras.activations import sigmoid, linear
      with self.assertRaises(ImportError):
          from bigdl.nano.tf.keras.layers import Dense, ELU, Embeddings
      with self.assertRaises(ImportError):
          from bigdl.nano.tf import cast
      with self.assertRaises(ImportError):
          from bigdl.nano.tf.keras import Input
      with self.assertRaises(ImportError):
          from bigdl.nano.tf.optimizers import (
              SGD,
              RMSprop,
              Adam,
              SparseAdam,
          )
  
file_path: BigDL/python/nano/test/automl/tf/test_global_config.py
imports: import pytest
  from unittest import TestCase
  import bigdl.nano.automl
  import bigdl.nano.tf
label_desc: Use image node_id 1 for calling the TestGlobalConfig obj's underlying member method code with example usage: obj._import_should_raise() without return types