code: def dot(input, other, *, out=None):
      if len(input.shape) == 1 and len(other.shape) == 1:
          input, other = torch_frontend.promote_types_of_torch_inputs(
              input, other
          )
          return ivy.matmul(input, other, out=out)
      else:
          raise RuntimeError("input must be 1D vectors")
  
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 10 for calling a global function with example usage: dot(input, other) and returns: ivy