Open zdaiot opened 2 years ago
To change operation name use graph.rename_node
, to change operation type use node.change_op_type
.
@vlasenkoalexey
Hello,I use TF1.15. And I get AttributeError: 'Graph' object has no attribute 'rename_node'
See how to use it in examples: https://github.com/CODAIT/graph_def_editor/blob/76e994726630773b8e889c26c49d552b24c71813/examples/coco_example.py#L263
@vlasenkoalexey Thanks your reply. But I found that this example operates on frozen graph. Do you know how to change the node name in checkpoint or savedmodel?
Hello,Do you knwo how to change operation name in the graph?Which api should I use?