Function mindspore::api::utils::CloneGraph

Function Documentation

FuncGraphPtr mindspore::api::utils::CloneGraph(const FuncGraphPtr &func_graph)

Make a copy from the given function graph.

参数

func_graph[in] The graph to be cloned.

返回

The cloned graph.