code: def test_random_crop():
      x = mx.np.ones((245, 480, 3), dtype="uint8")
      y = mx.npx.image.random_crop(x, width=100, height=100)
      assert y.shape == (100, 100, 3)
  
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 8 for calling a global function with example usage: test_random_crop() without return types