code: def empty(
      *args,
      size=None,
      out=None,
      dtype=None,
      layout=None,
      device=None,
      requires_grad=False,
      pin_memory=False,
      memory_format=None,
  ):
      if args and size:
          raise TypeError(
              "empty() got multiple values for argument 'shape'"
          )
      if size is None:
          size = (
              args[0]
              if isinstance(args[0], (tuple, list, ivy.Shape))
              else args
          )
      if isinstance(size, (tuple, list)):
          size = tuple(
              s.to_scalar() if ivy.is_array(s) else s for s in size
          )
      return ivy.empty(shape=size, dtype=dtype, device=device, out=out)
  
imports: import ivy
  from ivy.functional.frontends.torch.func_wrapper import to_ivy_arrays_and_back, to_ivy_shape
  from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
  import ivy.functional.frontends.torch
label_desc: Use image node_id 6 for calling a global function with example usage: empty() and returns: ivy