Home
last modified time | relevance | path

Searched refs:graphdef (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_subgraphs_pass_test.cc50 GraphDef graphdef; in AddGraphDefToFunctionLibrary() local
51 TF_RETURN_IF_ERROR(graphdef_builder.ToGraphDef(&graphdef)); in AddGraphDefToFunctionLibrary()
56 TF_RETURN_IF_ERROR(ConvertGraphDefToGraph(opts, graphdef, graph.get())); in AddGraphDefToFunctionLibrary()
489 Status Encapsulate(GraphDef* graphdef, FunctionDefLibrary* library, in Encapsulate() argument
498 s = ConvertGraphDefToGraph(options, *graphdef, graph.get()); in Encapsulate()
546 graphdef->Swap(&graphdef_out); in Encapsulate()
560 Status Encapsulate(GraphDef* graphdef, FunctionDefLibrary* library) { in Encapsulate() argument
562 return Encapsulate(graphdef, library, encapsulated_functions); in Encapsulate()
591 GraphDef graphdef; in TEST() local
605 TF_EXPECT_OK(b1.ToGraphDef(&graphdef)); in TEST()
[all …]
Dmark_for_compilation_pass_test.cc90 GraphDef graphdef; in TEST() local
116 GraphDef graphdef; in TEST() local
137 GraphDef graphdef; in TEST() local
159 GraphDef graphdef; in TEST() local
179 GraphDef graphdef; in TEST() local
216 GraphDef graphdef; in TEST() local
246 GraphDef graphdef; in TEST() local
314 GraphDef graphdef; in TEST() local
382 GraphDef graphdef; in TEST() local
416 GraphDef graphdef; in TEST() local
[all …]
Dencapsulate_subgraphs_pass.cc2435 GraphDef graphdef; in GetShapeInfoForOutsideCompilationSends() local
2436 graph->ToGraphDef(&graphdef); in GetShapeInfoForOutsideCompilationSends()
2438 << graphdef.DebugString(); in GetShapeInfoForOutsideCompilationSends()
/external/tensorflow/tensorflow/tools/optimization/
Doptimization_pass_runner.cc116 GraphDef graphdef; in RunMain() local
120 TF_RETURN_IF_ERROR(ReadTextProto(Env::Default(), input_file_path, &graphdef)); in RunMain()
122 ConvertGraphDefToGraph(graph_opts, graphdef, options.graph->get())); in RunMain()
149 options.graph->get()->ToGraphDef(&graphdef); in RunMain()
151 WriteTextProto(Env::Default(), output_file_path, graphdef)); in RunMain()
/external/tensorflow/tensorflow/contrib/receptive_field/python/util/examples/
Drf_benchmark.py242 def _model_rf(graphdef, argument
278 graphdef, _INPUT_NODE, output_node, input_resolution=input_resolution)
372 graphdef, end_points = _model_graph_def(model_type, arg_sc)
375 graphdef,
/external/tensorflow/tensorflow/lite/testing/
Dtf_driver.cc139 tensorflow::GraphDef graphdef; in LoadModel() local
140 if (!graphdef.ParseFromIstream(&model)) { in LoadModel()
147 auto status = session_->Create(graphdef); in LoadModel()
/external/tensorflow/tensorflow/contrib/recurrent/python/kernel_tests/
Dfunctional_rnn_test.py181 graphdef, _ = self._RunRnn(np_inputs, np_slen, 'lstm', var_cache, False)
182 logging.info('graphdef: %s', graphdef)
185 f.write(str(graphdef))
/external/tensorflow/tensorflow/lite/python/
Dconvert_test.py196 def _getGraphOpTypes(self, graphdef, output_nodes): argument
213 _extract_graph_summary(graphdef))
/external/tensorflow/tensorflow/lite/
Dbuild_def.bzl154 """Convert a frozen tensorflow graphdef to TF Lite's flatbuffer.
158 src: name of the input graphdef file.
/external/scapy/scapy/layers/
Dinet.py1066 self.graphdef = None
1440 self.graphdef = s
1453 if (self.graphdef is None or
1458 return do_graph(self.graphdef, **kargs)
/external/tensorflow/tensorflow/lite/toco/
Dimport_tensorflow.cc2130 bool InlineAllFunctions(GraphDef* graphdef) { in InlineAllFunctions() argument
2131 if (graphdef->library().function().empty()) { in InlineAllFunctions()
2137 GraphDef graphdef_copy(*graphdef); in InlineAllFunctions()
2184 graph.ToGraphDef(graphdef); in InlineAllFunctions()
/external/tensorflow/tensorflow/compiler/tests/
Drandomized_tests.cc128 bool use_jit, GraphDef* graphdef, NodeDef** test_node_def,
206 GraphDef* graphdef, NodeDef** test_node_def, in BuildGraph() argument
214 NodeDef* test_def = graphdef->add_node(); in BuildGraph()
230 NodeDef* def = graphdef->add_node(); in BuildGraph()
241 NodeDef* def = graphdef->add_node(); in BuildGraph()
/external/tensorflow/tensorflow/lite/g3doc/convert/
Dcmdline_examples.md37 ### Convert a TensorFlow GraphDef <a name="graphdef"></a>
/external/scapy/test/
Dregression.uts3464 len(tr6.graphdef) == 492
3465 tr6.graphdef.startswith("digraph trace {") == True
3466 '"2001:db8::1 53/udp";' in tr6.graphdef
9248 assert(len(tr.graphdef) == 491)
9249 tr.graphdef.startswith("digraph trace {") == True
9250 assert(('"192.168.0.9" ->' in tr.graphdef) == True)