code: def randint(
      low,
      high,
      size,
      *,
      generator=None,
      out=None,
      dtype=None,
      layout=None,
      device=None,
      requires_grad=False,
  ):
      seed = generator.initial_seed() if generator is not None else None
      return ivy.randint(
          low,
          high,
          shape=size,
          seed=seed,
          out=out,
          dtype=dtype,
          device=device,
      )
  
file_path: ivy/ivy/functional/frontends/torch/random_sampling.py
imports: import ivy
  from ivy.func_wrapper import with_supported_dtypes
  from ivy.functional.frontends.torch.func_wrapper import to_ivy_arrays_and_back
label_desc: Use image node_id 8 for calling a global function with example usage: randint(low, high, size) and returns: ivy