code: def build_scope(self, block):
      self.blocks.append(block)
      try:
          yield
      finally:
          self.blocks.pop()
  
file_path: autokeras/autokeras/prototype/graph_state.py
imports: import threading
  from tensorflow import keras
label_desc: Use image node_id 6 for calling the State obj's underlying member method code with example usage: obj.build_scope(block) without return types