code: def context(type_config="float", **kw):
      """CPU Context."""
      backends = ["cpu:float"]
      if type_config == "half":
          backends = ["cpu:half", "cpu:float"]
      elif type_config == "float":
          pass
      else:
          raise ValueError(
              "Unknown data type config is given %s" % type_config
          )
      return nn.Context(backends, array_classes()[0], "")
  
imports: import nnabla
  from nnabla._init import clear_memory_cache, array_classes, device_synchronize, get_device_count, get_devices
  from nnabla._version import __version__, __author__, __email__
label_desc: Use image node_id 1 for calling a global function with example usage: context(type_config) and returns: nn