code: def deserialize_scatter(scatter):
      if isinstance(scatter, str) and scatter in OP_DICT:
          return OP_DICT[scatter]
      elif callable(scatter):
          return scatter
      else:
          raise ValueError(
              f"scatter must be callable or string: {list(OP_DICT.keys())}"
          )
  
file_path: spektral/spektral/layers/ops/scatter.py
imports: import tensorflow
label_desc: Use image node_id 9 for calling a global function with example usage: deserialize_scatter(scatter) and returns: OP_DICT, scatter