code: def check_qsym_calibrated(qsym, out_type, name="conv"):
      quantized_op_name = "quantized_" + name
      assert (
          "".join(qsym.attr_dict().keys()).find(quantized_op_name) != -1
      )
      for k, v in qsym.attr_dict().items():
          if k.find("_quantize") != -1:
              assert v["out_type"] == out_type
          if k.find(quantized_op_name) != -1:
              if (
                  quantized_op_name.startswith(
                      "quantized_sg_onednn_fully_connected"
                  )
                  or quantized_op_name.startswith(
                      "quantized_sg_onednn_conv"
                  )
              ) and "enabled_float_output" in v:
                  continue
              assert "min_calib_range" in v
              assert "max_calib_range" in v
  
imports: import mxnet
  import numpy
  import unittest
  import pytest
  import ctypes
  import copy
  from mxnet.contrib import quantization
  from mxnet.gluon import nn
  from mxnet.test_utils import assert_almost_equal, assert_almost_equal_with_err
label_desc: Use image node_id 1 for calling a global function with example usage: check_qsym_calibrated(qsym, out_type, name) without return types