code: def vdot(input, other, *, out=None):
      if len(input.shape) != 1 or len(other.shape) != 1:
          raise RuntimeError("input must be 1D vectors")
      input, other = torch_frontend.promote_types_of_torch_inputs(
          input, other
      )
      ret = ivy.vecdot(input, other, out=out)
      return ret.squeeze(0) if ret.ndim == 1 else ret
  
imports: import ivy
  from ivy.func_wrapper import with_unsupported_dtypes
  import ivy.functional.frontends.torch
  from ivy.functional.frontends.torch.func_wrapper import to_ivy_arrays_and_back
label_desc: Use image node_id 26 for calling a global function with example usage: vdot(input, other) and returns: unknown