Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/contrib/util/
Dconvert_graphdef_memmapped_format.cc43 string out_graph = ""; in ParseFlagsAndConvertGraph() local
47 Flag("out_graph", &out_graph, "output graph"), in ParseFlagsAndConvertGraph()
68 if (out_graph.empty()) { in ParseFlagsAndConvertGraph()
76 const auto result = ConvertConstantsToImmutable(in_graph, out_graph, in ParseFlagsAndConvertGraph()
/external/tensorflow/tensorflow/python/grappler/
Dtf_optimizer.i111 tensorflow::GraphDef out_graph; in TF_OptimizeGraph() local
113 tensorflow::Status status = optimizer.Optimize(cluster.get(), *grappler_item, &out_graph); in TF_OptimizeGraph()
118 string out_graph_str = out_graph.SerializeAsString(); in TF_OptimizeGraph()
Dtf_optimizer.py46 out_graph = graph_pb2.GraphDef().FromString(ret_from_swig)
47 return out_graph
/external/tensorflow/tensorflow/core/common_runtime/
Deval_const_tensor.cc128 const std::unordered_map<string, Tensor>* cached_values, Graph* out_graph, in ExtractConstantSubgraph() argument
166 Node* target_node_copy = out_graph->CopyNode(&target_node); in ExtractConstantSubgraph()
244 current_node_copy = out_graph->CopyNode(current_node); in ExtractConstantSubgraph()
261 out_graph->AddEdge(current_node_copy, current_edge->src_output(), in ExtractConstantSubgraph()
Dplacer_test.cc219 Status BuildGraph(const GraphDefBuilder& builder, Graph* out_graph) { in BuildGraph() argument
220 TF_RETURN_IF_ERROR(GraphDefBuilderToGraph(builder, out_graph)); in BuildGraph()
222 for (Node* node : out_graph->nodes()) { in BuildGraph()
228 Status BuildGraph(const GraphDef& graph_def, Graph* out_graph) { in BuildGraph() argument
230 TF_RETURN_IF_ERROR(ConvertGraphDefToGraph(opts, graph_def, out_graph)); in BuildGraph()
232 for (Node* node : out_graph->nodes()) { in BuildGraph()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dtransform_graph.cc233 string out_graph = ExpandPath(out_graph_string); in ParseFlagsAndTransformGraph() local
270 save_status = WriteTextProto(Env::Default(), out_graph, graph_def); in ParseFlagsAndTransformGraph()
272 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.cc747 tensorflow::GraphDef out_graph; in OptimizeGraph() local
754 item, config_proto, cpu_device, &cluster, &out_graph)); in OptimizeGraph()
759 out_graph, optimized_graph.get())); in OptimizeGraph()
763 for (const FunctionDef& fdef : out_graph.library().function()) { in OptimizeGraph()