code: def _scale_box(boxes, scale_yx):
      boxes[:, 0::2] *= scale_yx[:, 1]
      boxes[:, 1::2] *= scale_yx[:, 0]
      return boxes
  
file_path: H2O/h2o_flexgen/benchmark/third_party/transformers/examples/research_projects/lxmert/processing_image.py
imports: import sys
  from typing import Tuple
  import numpy
  import torch
  from PIL import Image
  from torch import nn
  from transformers.image_utils import PILImageResampling
  from utils import img_tensorize
label_desc: Use image node_id 1 for calling a global function with example usage: _scale_box(boxes, scale_yx) and returns: boxes