diff --git a/x2paddle/core/program.py b/x2paddle/core/program.py index 74ce1e446f7ce6d9bf8f93da89bc557fefb843ed..d6d812033e39881011d571408bc7f8b34a72b4b6 100644 --- a/x2paddle/core/program.py +++ b/x2paddle/core/program.py @@ -272,8 +272,6 @@ class PaddleGraph(object): def gen_dygraph_model(self, save_dir, jit_type=None): if jit_type == "trace": -# self.gen_dygraph_code(save_dir) -# self.dump_dygraph_parameter(save_dir) from x2paddle.optimizer.code_optimizer import HierarchicalTree hierarchical_tree = HierarchicalTree(self) for layer_id, layer in self.layers.items():