code: def _resize_image(image, height, width):
      """Simple wrapper around tf.resize_images.
  
      This is primarily to make sure we use the same `ResizeMethod` and other
      details each time.
  
      Args:
          image: A 3-D image `Tensor`.
          height: The target height for the resized image.
          width: The target width for the resized image.
  
      Returns:
          resized_image: A 3-D tensor containing the resized image. The first two
              dimensions have the shape [height, width].
      """
      return tf.compat.v1.image.resize(
          image,
          [height, width],
          method=tf.image.ResizeMethod.BILINEAR,
          align_corners=False,
      )
  
file_path: ray/release/air_tests/air_benchmarks/mlperf-train/tf_utils.py
imports: import tensorflow
  import functools
  import logging
label_desc: Use image node_id 11 for calling a global function with example usage: _resize_image(image, height, width) and returns: tf