class_docstr: Scope to propagate safe mode flag to nested deserialization calls.
class_docstr_tok: ["Scope","to","propagate","safe","mode","flag","to","nested","deserialization","calls","."]
code: def __init__(self, safe_mode=True):
      self.safe_mode = safe_mode
  
imports: import importlib
  import inspect
  import types
  import warnings
  import numpy
  from keras import api_export
  from keras import backend
  from keras.api_export import keras_export
  from keras.backend.common import global_state
  from keras.saving import object_registration
  from keras.utils import python_utils
  from keras.utils.module_utils import tensorflow
label_desc: Use image node_id 1 to create a new SafeModeScope object  with example: obj = SafeModeScope(safe_mode)