DTypeConfig
class torch.ao.quantization.backend_config.DTypeConfig(input_dtype=None, output_dtype=None, weight_dtype=None, bias_dtype=None, is_dynamic=None)
Config object that specifies the supported data types passed as
   arguments to quantize ops in the reference model spec, for input
   and output activations, weights, and biases.
For example, consider the following reference model:
  quant1 - [dequant1 - fp32_linear - quant2] - dequant2

The pattern in the square brackets refers to the reference pattern
   of statically quantized linear. Setting the input dtype as
   torch.quint8 in the DTypeConfig means we pass in torch.quint8
   as the dtype argument to the first quantize op (quant1). Similarly,
   setting the output dtype as torch.quint8 means we pass in
   torch.quint8 as the dtype argument to the second quantize op
   (quant2).
Note that the dtype here does not refer to the interface dtypes of