def METHOD_NAME(self):
    place = paddle.CUDAPlace(0) if paddle.is_compiled_with_cuda(
    ) else paddle.CPUPlace()
    exe = paddle.static.Executor(place)
    quant_recon_static(
        exe,
        self.tmpdir.name,
        quantize_model_path='output_layer',
        sample_generator=self.data_loader,
        model_filename='infer.pdmodel',
        params_filename='infer.pdiparams',
        batch_nums=1,
        epochs=1,
        algo='KL',
        regions=None,
        region_weights_names=None,
        recon_level='layer-wise',
        simulate_activation_quant=True,
        bias_correction=True)