code: def _pairwise_distance(x1, x2, *, p=2.0, eps=1e-06, keepdim=False):
      x1, x2 = paddle.promote_types_of_paddle_inputs(x1, x2)
      x1_dim = len(x1.shape)
      x2_dim = len(x2.shape)
      if x1_dim > x2_dim:
          output_dim = x1_dim
      else:
          output_dim = x2_dim
  
      return ivy.vector_norm(
          x1 - x2 + eps, ord=p, axis=output_dim - 1, keepdims=keepdim
      )
  
imports: import ivy
  from ivy.func_wrapper import with_supported_dtypes
  import ivy.functional.frontends.paddle
  from ivy.utils.exceptions import handle_exceptions
  from ivy.functional.frontends.paddle.func_wrapper import inputs_to_ivy_arrays, to_ivy_arrays_and_back
label_desc: Use image node_id 2 for calling a global function with example usage: _pairwise_distance(x1, x2) and returns: ivy