Home
last modified time | relevance | path

Searched refs:out_graph (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/python/grappler/
Dtf_optimizer_wrapper.cc95 tensorflow::GraphDef out_graph; in PYBIND11_MODULE() local
99 optimizer.Optimize(cluster, *grappler_item, &out_graph)); in PYBIND11_MODULE()
102 out_graph.mutable_node()); in PYBIND11_MODULE()
107 return out_graph.SerializeAsString(); in PYBIND11_MODULE()
Dtf_optimizer.py55 out_graph = tf_opt.TF_OptimizeGraph(cluster.tf_cluster,
59 return graph_pb2.GraphDef().FromString(out_graph)
/external/tensorflow/tensorflow/core/common_runtime/
Deval_const_tensor.cc143 const std::unordered_map<string, Tensor>* cached_values, Graph* out_graph, in ExtractConstantSubgraph() argument
182 Node* target_node_copy = out_graph->CopyNode(&target_node); in ExtractConstantSubgraph()
284 current_node_copy = out_graph->CopyNode(current_node); in ExtractConstantSubgraph()
301 out_graph->AddEdge(current_node_copy, current_edge->src_output(), in ExtractConstantSubgraph()
Dplacer_test.cc243 Status BuildGraph(const GraphDefBuilder& builder, Graph* out_graph) { in BuildGraph() argument
244 TF_RETURN_IF_ERROR(GraphDefBuilderToGraph(builder, out_graph)); in BuildGraph()
245 RebuildNodeNameMap(*out_graph); in BuildGraph()
249 Status BuildGraph(const GraphDef& graph_def, Graph* out_graph) { in BuildGraph() argument
251 TF_RETURN_IF_ERROR(ConvertGraphDefToGraph(opts, graph_def, out_graph)); in BuildGraph()
252 RebuildNodeNameMap(*out_graph); in BuildGraph()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dtransform_graph.cc234 string out_graph = ExpandPath(out_graph_string); in ParseFlagsAndTransformGraph() local
271 save_status = WriteTextProto(Env::Default(), out_graph, graph_def); in ParseFlagsAndTransformGraph()
273 save_status = WriteBinaryProto(Env::Default(), out_graph, graph_def); in ParseFlagsAndTransformGraph()
DREADME.md82 --out_graph=optimized_inception_graph.pb \
142 --out_graph=optimized_inception_graph.pb \
182 --out_graph=optimized_inception_graph.pb \
216 --out_graph=optimized_inception_graph.pb \
243 --out_graph=optimized_inception_graph.pb \
271 --out_graph=optimized_inception_graph.pb \
289 --out_graph=optimized_inception_graph.pb \
456 --out_graph=/tmp/logged_quantized_inception.pb \
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmeta_optimizer.cc1008 tensorflow::GraphDef out_graph; in OptimizeGraph() local
1013 std::move(item), config_proto, cpu_device, &cluster, &out_graph)); in OptimizeGraph()
1020 for (const FunctionDef& fdef : out_graph.library().function()) { in OptimizeGraph()
1031 GraphConstructorOptions(), std::move(out_graph), optimized_graph.get())); in OptimizeGraph()