weight=MinMaxObserver.with-args(dtype=torch.qint8))
  # Note: current qconfig api does not support setting output observer, but
  # we may extend this to support these more fine grained control in the
  # future
  #
  # qconfig_mapping = QConfigMapping().set_object_type(torch.nn.Linear, qconfig)
  # in backend config, linear module also supports in this configuration:
  # weighted_int8_dtype_config = DTypeConfig(
  #   input_dtype=torch.quint8,
  #   output_dtype=torch.quint8,
  #   weight_dtype=torch.qint8,
  #   bias_type=torch.float)

  # linear_pattern_config = BackendPatternConfig(torch.nn.Linear) \
  #    .set_observation_type(ObservationType.OUTPUT_USE_DIFFERENT_OBSERVER_AS_INPUT) \
  #    .add_dtype_config(weighted_int8_dtype_config) \
  #    ...

  # backend_config = BackendConfig().set_backend_pattern_config(linear_pattern_config)
  # `prepare_fx` will check that the setting requested by suer in qconfig_mapping
