code: def to_tensor(data, /, *, dtype=None, place=None, stop_gradient=True):
      array = ivy.array(data, dtype=dtype, device=place)
      return paddle_frontend.Tensor(array, dtype=dtype, place=place)
  
imports: import ivy
  from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
  import ivy.functional.frontends.paddle
  from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back
label_desc: Use image node_id 17 for calling a global function with example usage: to_tensor() and returns: paddle_frontend