docstr: Test pattern of single conv2d with X86InductorQuantizer.
code: def test_conv2d(self):
      """
      Test pattern of single conv2d with X86InductorQuantizer.
      """
      with override_quantized_engine("x86"), torch.no_grad():
          m = TestHelperModules.SingleConv2dModule().eval()
          example_inputs = (torch.randn(2, 3, 16, 16),)
          quantizer = X86InductorQuantizer().set_global(
              xiq.get_default_x86_inductor_quantization_config()
          )
          node_occurrence = {
              # one for input and weight of the conv
              torch.ops.quantized_decomposed.quantize_per_tensor.default: 1,
              torch.ops.quantized_decomposed.dequantize_per_tensor.default: 1,
              # note: quantize op for weights are const propagated
              torch.ops.quantized_decomposed.quantize_per_channel.default: 0,
              torch.ops.quantized_decomposed.dequantize_per_channel.default: 1,
          }
          node_list = [
              torch.ops.quantized_decomposed.quantize_per_tensor.default,
              torch.ops.quantized_decomposed.dequantize_per_tensor.default,
              torch.ops.aten.conv2d.default,
          ]
          self._test_quantizer(
              m,
              example_inputs,
              quantizer,
              node_occurrence,
              node_list,
          )
  
imports: import copy
  import torch
  import torch.nn
  from torch.ao.quantization.quantizer.x86_inductor_quantizer import X86InductorQuantizer
  from torch.ao.quantization.quantize_pt2e import convert_pt2e, prepare_pt2e, prepare_qat_pt2e
  from torch.testing._internal.common_quantization import NodeSpec, QuantizationTestCase, skipIfNoX86, skipIfNoDynamoSupport
  from torch.testing._internal.common_quantized import override_quantized_engine
  from enum import Enum
  import itertools
  import torch.ao.quantization.quantizer.x86_inductor_quantizer
  from torch.ao.quantization import ObserverBase
  from torch._export import capture_pre_autograd_graph
label_desc: Use image node_id 1 for calling the TestQuantizePT2EX86Inductor obj's underlying member method code with example usage: obj.test_conv2d() without return types