def test_freeze_graph_cpu_static(self):
    with fluid.unique_name.guard():
        self.freeze_graph(False, seed=2, activation_quant_type='range_abs_max', weight_quant_type='abs_max', for_ci=True)
        self.freeze_graph(False, seed=2, activation_quant_type='moving_average_abs_max', weight_quant_type='abs_max', for_ci=True)
        self.freeze_graph(False, seed=2, activation_quant_type='range_abs_max', weight_quant_type='channel_wise_abs_max', for_ci=True)
        self.freeze_graph(False, seed=2, activation_quant_type='moving_average_abs_max', weight_quant_type='channel_wise_abs_max', for_ci=True)
def test_freeze_graph_cpu_static(self):
    with fluid.unique_name.guard():
        self.freeze_graph(False, seed=2, activation_quant_type='range_abs_max', weight_quant_type='abs_max', for_ci=True)
        self.freeze_graph(False, seed=2, activation_quant_type='moving_average_abs_max', weight_quant_type='abs_max', for_ci=True)
        self.freeze_graph(False, seed=2, activation_quant_type='range_abs_max', weight_quant_type='channel_wise_abs_max', for_ci=True)
        self.freeze_graph(False, seed=2, activation_quant_type='moving_average_abs_max', weight_quant_type='channel_wise_abs_max', for_ci=True)