code: def empty_strided(
      size,
      stride,
      *,
      dtype=None,
      layout=None,
      device=None,
      requires_grad=False,
      pin_memory=False,
  ):
      max_offsets = [(s - 1) * st for s, st in zip(size, stride)]
      items = sum(max_offsets) + 1
      empty_array = empty(items, dtype=dtype, device=device)
      strided_array = as_strided(empty_array, size, stride)
      return strided_array
  
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 8 for calling a global function with example usage: empty_strided(size, stride) and returns: strided_array