Function mindspore::api::utils::CloneGraph

Function Documentation

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

Make a copy from the given function graph.

Parameters

func_graph[in] The graph to be cloned.

Returns

The cloned graph.