code: def keypoint_scale(keypoints, y_scale, x_scale, scope=None):
      """Scales keypoint coordinates in x and y dimensions.
  
      Args:
        keypoints: a tensor of shape [num_instances, num_keypoints, 2]
        y_scale: (float) scalar tensor
        x_scale: (float) scalar tensor
        scope: name scope.
  
      Returns:
        new_keypoints: a tensor of shape [num_instances, num_keypoints, 2]
      """
      with tf.name_scope(scope, "Scale"):
          y_scale = tf.cast(y_scale, tf.float32)
          x_scale = tf.cast(x_scale, tf.float32)
          new_keypoints = keypoints * [[[y_scale, x_scale]]]
          return new_keypoints
  
file_path: DALI/docs/examples/use_cases/tensorflow/efficientdet/pipeline/tf/preprocessor.py
imports: import tensorflow.compat.v1
  from pipeline.anchors_utils import box_list
label_desc: Use image node_id 10 for calling a global function with example usage: keypoint_scale(keypoints, y_scale, x_scale, scope) and returns: new_keypoints