Home
last modified time | relevance | path

Searched refs:text_format (Results 1 – 25 of 60) sorted by relevance

123

/external/protobuf/python/google/protobuf/internal/
Dtext_format_test.py56 from google.protobuf import text_format
67 for quote in text_format._QUOTES:
112 self.RemoveRedundantZeros(text_format.MessageToString(message)),
128 text_format.MessageToString(message),
136 text_format.MessageToString(message, as_one_line=True),
147 text_format.MessageToString(message, as_one_line=True),
155 text_format.MessageToString(message, as_one_line=True),
169 text_format.MessageToString(message, as_one_line=True)),
190 wire_text = text_format.MessageToString(
193 r = text_format.Parse(wire_text, parsed_message)
[all …]
Dproto_builder_test.py47 from google.protobuf import text_format
68 'bar: "asdf"\nfoo: 12345\n', text_format.MessageToString(proto))
79 'foo: 12345\nbar: "asdf"\n', text_format.MessageToString(proto))
/external/tensorflow/tensorflow/python/tools/
Dprint_selective_registration_header_test.py24 from google.protobuf import text_format
90 text_format.Parse(d, graph_pb2.GraphDef())
127 text_format.Parse(d, graph_pb2.GraphDef())
154 graphs = [text_format.Parse(GRAPH_DEF_TXT_2, graph_pb2.GraphDef())]
Dstrip_unused_lib.py23 from google.protobuf import text_format
109 text_format.Merge(f.read(), input_graph_def)
121 f.write(text_format.MessageToString(output_graph_def))
Dfreeze_graph.py43 from google.protobuf import text_format
176 text_format.Merge(f.read(), input_graph_def)
191 text_format.Merge(f.read(), input_meta_graph_def)
207 text_format.Merge(f.read(), saver_def)
Doptimize_for_inference.py62 from google.protobuf import text_format
85 text_format.Merge(data.decode("utf-8"), input_graph_def)
Dselective_registration_header_lib.py28 from google.protobuf import text_format
48 graph_def = text_format.Parse(file_data, graph_pb2.GraphDef())
/external/tensorflow/tensorflow/python/grappler/
Dcost_analyzer_tool.py24 from google.protobuf import text_format
43 text_format.Merge(meta_file.read(), metagraph)
54 text_format.Merge(graph_file.read(), graph_def)
66 text_format.Merge(FLAGS.rewriter_config, rewriter_config)
/external/tensorflow/tensorflow/contrib/saved_model/python/saved_model/
Dreader.py24 from google.protobuf import text_format
69 text_format.Merge(file_content.decode("utf-8"), saved_model)
71 except text_format.ParseError as e:
/external/tensorflow/tensorflow/python/util/protobuf/
Dcompare.py72 from google.protobuf import text_format
94 a = text_format.Merge(a, b.__class__(), descriptor_pool=pool)
105 text_format.MessageToString(a, descriptor_pool=pool),
106 text_format.MessageToString(b, descriptor_pool=pool),
/external/tensorflow/tensorflow/contrib/tensorboard/plugins/projector/
D__init__.py30 from google.protobuf import text_format
59 config_pbtxt = text_format.MessageToString(config)
Dprojector_api_test.py24 from google.protobuf import text_format
52 text_format.Parse(f.read(), config2)
/external/tensorflow/tensorflow/python/framework/
Dgraph_io.py24 from google.protobuf import text_format
71 text_format.MessageToString(graph_def))
Dmeta_graph.py27 from google.protobuf import text_format
128 text_format.Merge(file_content, graph_def)
129 except text_format.ParseError as e:
643 text_format.Merge(file_content.decode("utf-8"), meta_graph_def)
644 except text_format.ParseError as e:
/external/tensorflow/tensorflow/contrib/boosted_trees/estimator_batch/
Dcustom_export_strategy_test.py25 from google.protobuf import text_format
135 text_format.Merge(dtec_str, dtec)
/external/tensorflow/tensorflow/python/util/
Dexample_parser_configuration_test.py21 from google.protobuf import text_format
74 text_format.Parse(BASIC_PROTO, golden_config)
/external/tensorflow/tensorflow/tools/quantization/
Dgraph_to_dot.py27 from google.protobuf import text_format
52 text_format.Merge(f.read(), graph)
/external/tensorflow/tensorflow/python/saved_model/
Dloader_impl.py25 from google.protobuf import text_format
71 text_format.Merge(file_content.decode("utf-8"), saved_model)
73 except text_format.ParseError as e:
/external/tensorflow/tensorflow/tools/api/tests/
Dapi_compatibility_test.py38 from google.protobuf import text_format
185 filepath, text_format.MessageToString(actual_dict[key]))
216 text_format.Merge(file_io.read_file_to_string(filename), ret_val)
/external/tensorflow/tensorflow/contrib/receptive_field/python/util/examples/
Dcompute_rf.py27 from google.protobuf import text_format
49 text_format.Parse(pbstr, graph_def)
/external/tensorflow/tensorflow/tools/test/
Drun_and_gather_logs.py29 from google.protobuf import text_format
80 print(text_format.MessageToString(test_results))
/external/tensorflow/tensorflow/contrib/boosted_trees/python/kernel_tests/
Dtraining_ops_test.py23 from google.protobuf import text_format
90 text_format.Merge(split_str, split)
115 text_format.Merge(split_str, split)
390 text_format.Merge("""
579 text_format.Merge("""
1282 text_format.Merge("""
1473 text_format.Merge("""
1596 text_format.Merge("""
1772 text_format.Merge("""
/external/tensorflow/tensorflow/python/eager/
Dexecute.py23 from google.protobuf import text_format
159 text_format.Merge(v, pb)
/external/tensorflow/tensorflow/python/client/
Dvirtual_gpu_test.py25 from google.protobuf import text_format
85 logging.info('config: %s', text_format.MessageToString(self.config))
/external/nanopb-c/generator/
Dnanopb_generator.py17 import google.protobuf.text_format as text_format namespace
902 text_format.Merge(parts[1], opts)
943 sys.stderr.write(text_format.MessageToString(new_options) + "\n")
996 text_format.Merge(s, toplevel_options)

123