code: def set_framework(name):
      """Set framework for Segmentation Models
  
      Args:
          name (str): one of ``keras``, ``tf.keras``, case insensitive.
  
      Raises:
          ValueError: in case of incorrect framework name.
          ImportError: in case framework is not installed.
  
      """
      name = name.lower()
  
      if name == _KERAS_FRAMEWORK_NAME:
          import keras
          import efficientnet.keras  # init custom objects
      elif name == _TF_KERAS_FRAMEWORK_NAME:
          from tensorflow import keras
          import efficientnet.tfkeras  # init custom objects
      else:
          raise ValueError(
              "Not correct module name `{}`, use `{}` or `{}`".format(
                  name, _KERAS_FRAMEWORK_NAME, _TF_KERAS_FRAMEWORK_NAME
              )
          )
  
      global _KERAS_BACKEND, _KERAS_LAYERS, _KERAS_MODELS
      global _KERAS_UTILS, _KERAS_LOSSES, _KERAS_FRAMEWORK
  
      _KERAS_FRAMEWORK = name
      _KERAS_BACKEND = keras.backend
      _KERAS_LAYERS = keras.layers
      _KERAS_MODELS = keras.models
      _KERAS_UTILS = keras.utils
      _KERAS_LOSSES = keras.losses
  
      # allow losses/metrics get keras submodules
      base.KerasObject.set_submodules(
          backend=keras.backend,
          layers=keras.layers,
          models=keras.models,
          utils=keras.utils,
      )
  
file_path: segmentation_models/segmentation_models/__init__.py
imports: import os
  import functools
  from .__version__ import __version__
  from .None import base
  from .None import losses
  from .None import metrics
  from .None import utils
  from .backbones.backbones_factory import Backbones
  from .models.unet import Unet
  from .models.pspnet import PSPNet
  from .models.linknet import Linknet
  from .models.fpn import FPN
label_desc: Use image node_id 5 for calling a global function with example usage: set_framework(name) without return types