code: def _blend_images(img1, img2, ratio):
      # TODO: ivy.check_float(img1) returns False for ivy array
      # TODO: when lerp supports int type and when the above issue is fixed,
      # replace this with ivy.check_float(img1)
      max_value = (
          1.0
          if ivy.dtype(img1) == "float32"
          or ivy.dtype(img1) == "float64"
          else 255.0
      )
      return ivy.astype(
          ivy.lerp(img2, img1, float(ratio)).clip(0, max_value),
          ivy.dtype(img1),
      )
  
file_path: ivy/ivy/functional/frontends/paddle/vision/transforms.py
imports: import ivy
  from ivy.func_wrapper import with_supported_dtypes, with_unsupported_device_and_dtypes
  from ..tensor.tensor import Tensor
  from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back
label_desc: Use image node_id 1 for calling a global function with example usage: _blend_images(img1, img2, ratio) and returns: ivy