code: def searchsorted(
      sorted_sequence,
      values,
      /,
      *,
      out_int32=False,
      right=False,
      side="left",
      out=None,
      sorter=None,
  ):
      if right and side == "left":
          raise ivy.exceptions.IvyError(
              "side and right can't be set to opposites, got side of left"
              " while right was True"
          )
      if right:
          side = "right"
      ret = ivy.searchsorted(
          sorted_sequence, values, side=side, out=out, sorter=sorter
      )
      if out_int32:
          ret = ivy.astype(ret, "int32")
      return ret
  
imports: import ivy
  from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
  from ivy.functional.frontends.torch.func_wrapper import to_ivy_arrays_and_back
  from ivy.functional.frontends.torch import promote_types_of_torch_inputs
  import ivy.functional.frontends.torch
label_desc: Use image node_id 35 for calling a global function with example usage: searchsorted() and returns: ret