code: def resize_images_v2(
      images: ragged_tensor.RaggedTensor,
      size,
      method=image_ops.ResizeMethod.BILINEAR,
      preserve_aspect_ratio=False,
      antialias=False,
      name=None,
  ):
      """RaggedTensor dispatcher for tf.image.resize (tf-v2)."""
      with ops.name_scope(name, "RaggedResizeImages", [images, size]):
          return _resize_images(
              image_ops.resize_images_v2,
              images,
              size,
              method=method,
              preserve_aspect_ratio=preserve_aspect_ratio,
              antialias=antialias,
          )
  
file_path: tensorflow/tensorflow/python/ops/ragged/ragged_image_ops.py
imports: from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.framework import tensor_spec
  from tensorflow.python.framework import tensor_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import cond
  from tensorflow.python.ops import image_ops
  from tensorflow.python.ops import map_fn
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.util import dispatch
label_desc: Use image node_id 1 for calling a global function with example usage: resize_images_v2(images, size, method, preserve_aspect_ratio, antialias, name) and returns: _resize_images