code: def as_ivy_dev(device: str, /):
      if "gpu" in device:
          logging.warning(
              "Native Numpy does not support GPU placement, consider using Jax instead"
          )
      return ivy.Device("cpu")
  
imports: import os
  import time
  import logging
  import numpy
  from typing import Union, Optional, Any
  import ivy
  from ivy.functional.ivy.device import Profiler
label_desc: Use image node_id 2 for calling a global function with example usage: as_ivy_dev() and returns: ivy