code: def _import_should_okay(self):
      try:
          from bigdl.nano.tf.keras.activations import sigmoid, linear
      except ImportError:
          self.fail(
              "nano.tf.keras.activations did not register correctly."
          )
      try:
          from bigdl.nano.tf.keras.layers import Dense, Embedding
      except ImportError:
          self.fail("nano.tf.keras.layers did not register correctly.")
      try:
          from bigdl.nano.tf import cast
      except ImportError:
          self.fail("bigdl.nano.tf.cast did not register correctly.")
      try:
          from bigdl.nano.tf.keras import Input
      except ImportError:
          self.fail("nano.tf.keras.Input did not register correctly.")
      try:
          from bigdl.nano.tf.optimizers import (
              SGD,
              RMSprop,
              Adam,
              SparseAdam,
          )
      except ImportError:
          self.fail("nano.tf.optimizers did not register correctly.")
  
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 2 for calling the TestGlobalConfig obj's underlying member method code with example usage: obj._import_should_okay() without return types