code: def test_quantization_net_with_different_data_inputs_options():
      if is_test_for_native_cpu():
          print(
              "skipped testing test_quantization_net_with_different_data_inputs_options for native cpu since it is not supported yet"
          )
          return
      elif is_test_for_gpu():
          print(
              "skipped testing test_quantization_net_with_different_data_inputs_options for gpu since it is not supported yet"
          )
          return
  
      net = FP32Net()
      net.initialize()
  
      batch_size = 32
      data_shape = (batch_size, 3, 224, 224)
      random_data = mx.np.random.uniform(size=data_shape)
  
      # pass data_shapes as list of tuples
      quantized_net = mx.contrib.quant.quantize_net(
          net,
          quantized_dtype="auto",
          data_shapes=[data_shape],
          device=mx.current_device(),
      )
      out = quantized_net(random_data)
      out.wait_to_read()
  
      # pass data_shapes as list of DataDescs
      net2 = FP32Net()
      net2.initialize()
      data_desc = mx.io.DataDesc("data", data_shape)
      quantized_net2 = mx.contrib.quant.quantize_net(
          net2,
          quantized_dtype="auto",
          data_shapes=[data_desc],
          device=mx.current_device(),
      )
      out2 = quantized_net2(random_data)
      out2.wait_to_read()
  
      # pass data as DataLoader
      net3 = FP32Net()
      net3.initialize()
      data_loader = mx.gluon.data.DataLoader(
          random_data, batch_size=batch_size
      )
      quantized_net3 = mx.contrib.quant.quantize_net(
          net3,
          quantized_dtype="auto",
          calib_data=data_loader,
          device=mx.current_device(),
      )
      out3 = quantized_net3(random_data)
      out3.wait_to_read()
  
imports: import os
  import mxnet
  import numpy
  from mxnet import npx
  from mxnet.util import use_np
  from mxnet.gluon.model_zoo import vision
  from mxnet.test_utils import assert_almost_equal, assert_exception, rand_ndarray, rand_shape_nd, same, DummyIter
  from common import xfail_when_nonstandard_decimal_separator
  from mxnet.io import NDArrayIter
  import unittest
  import operator
label_desc: Use image node_id 26 for calling a global function with example usage: test_quantization_net_with_different_data_inputs_options() without return types