def test_freeze_graph_cuda_dynamic(self):
    if fluid.core.is_compiled_with_cuda():
        with fluid.unique_name.guard():
            self.freeze_graph(True, seed=1, activation_quant_type='abs_max', weight_quant_type='abs_max', for_ci=True)
        with fluid.unique_name.guard():
            self.freeze_graph(True, seed=1, activation_quant_type='abs_max', weight_quant_type='channel_wise_abs_max', for_ci=True)
def test_freeze_graph_cuda_dynamic(self):
    if fluid.core.is_compiled_with_cuda():
        with fluid.unique_name.guard():
            self.freeze_graph(True, seed=1, activation_quant_type='abs_max', weight_quant_type='abs_max', for_ci=True)
        with fluid.unique_name.guard():
            self.freeze_graph(True, seed=1, activation_quant_type='abs_max', weight_quant_type='channel_wise_abs_max', for_ci=True)