code: def test_bbox_random_flip():
      from mxnet.gluon.contrib.data.vision.transforms.bbox import (
          ImageBboxRandomFlipLeftRight,
      )
  
      transform = ImageBboxRandomFlipLeftRight(0.5)
      iteration = 200
      num_apply = 0
      for _ in range(iteration):
          img = mx.np.ones((10, 10, 3), dtype="uint8")
          img[0, 0, 0] = 10
          bbox = mx.np.array([[1, 2, 3, 4, 0]])
          im_out, im_bbox = transform(img, bbox)
          if (
              im_bbox[0][0].asnumpy() != 1
              and im_out[0, 0, 0].asnumpy() != 10
          ):
              num_apply += 1
      assert_almost_equal(
          np.array([num_apply]) / float(iteration), 0.5, 0.5
      )
  
imports: import os
  from collections import namedtuple
  from uuid import uuid4
  import numpy
  import mxnet
  from mxnet import gluon, autograd, np, npx
  from mxnet.test_utils import use_np, assert_almost_equal, check_gluon_hybridize_consistency, same, check_symbolic_backward
  from common import assertRaises, xfail_when_nonstandard_decimal_separator
  import random
  from mxnet.base import MXNetError
  from mxnet.gluon.data.vision import transforms
  from mxnet import image
  import pytest
label_desc: Use image node_id 15 for calling a global function with example usage: test_bbox_random_flip() without return types