code: def test_image_resize_contain():
      image = mx.random.normal(shape=(240, 120, 3)).astype(np.uint8)
      width = 123
      height = 321
      out, _ = transforms.image.resize_contain(image, (width, height))
      np.testing.assert_allclose(out.shape, (height, width, 3))
  
      width = 120
      height = 20
      out, _ = transforms.image.resize_contain(image, (width, height))
      np.testing.assert_allclose(out.shape, (height, width, 3))
  
imports: from __future__ import print_function
  from __future__ import division
  import os.path
  import mxnet
  import numpy
  from mxnet import autograd, gluon
  import gluoncv
  from gluoncv.data import transforms
  from gluoncv.data import batchify
  from gluoncv.data.batchify import Tuple, Stack, Pad
  from gluoncv.data.transforms.presets import ssd
  from gluoncv.data.transforms.presets import rcnn
  from gluoncv.data.transforms.presets import yolo
  from gluoncv.data.transforms.presets import center_net
  from .tiny_datasets import COCODetectionTiny, COCOInstanceTiny, VOCDetectionTiny, VOCSegmentationTiny
label_desc: Use image node_id 10 for calling a global function with example usage: test_image_resize_contain() without return types