Home
last modified time | relevance | path

Searched refs:text_format (Results 1 – 25 of 66) 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/grappler/
Dcost_analyzer_tool.py25 from google.protobuf import text_format
46 text_format.Merge(input_data, saved_model)
48 except text_format.ParseError:
55 text_format.Merge(input_data, meta_graph)
56 except text_format.ParseError:
62 text_format.Merge(input_data, graph_def)
63 except text_format.ParseError:
84 text_format.Merge(FLAGS.rewriter_config,
/external/tensorflow/tensorflow/python/kernel_tests/boosted_trees/
Dprediction_ops_test.py20 from google.protobuf import text_format
70 text_format.Merge("""
137 text_format.Merge("""
210 text_format.Merge("""
325 text_format.Merge("""
458 text_format.Merge(
531 text_format.Merge("""
662 text_format.Merge("""
808 text_format.Merge("""
928 text_format.Merge(
[all …]
Dresource_ops_test.py20 from google.protobuf import text_format
51 text_format.Merge(
181 text_format.Merge(
/external/tensorflow/tensorflow/python/tools/
Dprint_selective_registration_header_test.py24 from google.protobuf import text_format
100 text_format.Parse(d, graph_pb2.GraphDef())
145 text_format.Parse(d, graph_pb2.GraphDef())
172 graphs = [text_format.Parse(GRAPH_DEF_TXT_2, graph_pb2.GraphDef())]
Dsaved_model_utils.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:
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.py44 from google.protobuf import text_format
253 text_format.Merge(f.read(), input_graph_def)
268 text_format.Merge(f.read(), input_meta_graph_def)
284 text_format.Merge(f.read(), saver_def)
Dselective_registration_header_lib.py28 from google.protobuf import text_format
58 graph_def = text_format.Parse(file_data, graph_pb2.GraphDef())
Doptimize_for_inference.py62 from google.protobuf import text_format
85 text_format.Merge(data.decode("utf-8"), input_graph_def)
/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.py73 from google.protobuf import text_format
95 a = text_format.Merge(a, b.__class__(), descriptor_pool=pool)
105 a_str = text_format.MessageToString(a, descriptor_pool=pool)
106 b_str = 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))
/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/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/contrib/proto/python/kernel_tests/
Ddecode_proto_op_test_base.py27 from google.protobuf import text_format
244 text_format.Parse(
245 text_format.MessageToString(value, float_format='.17g'),
264 text_format.MessageToString(
Dencode_proto_op_test_base.py29 from google.protobuf import text_format
198 text_format.Parse(
199 text_format.MessageToString(
/external/tensorflow/tensorflow/contrib/receptive_field/python/util/examples/
Dcompute_rf.py24 from google.protobuf import text_format
46 text_format.Parse(pbstr, graph_def)
/external/tensorflow/tensorflow/lite/python/
Dcreate_custom_op.py40 from google.protobuf import text_format
92 text_format.Parse(op_definition, node_def)
/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)
140 text_format.Merge(split_str, split)
530 text_format.Merge("""
721 text_format.Merge("""
1433 text_format.Merge("""
1626 text_format.Merge(
1815 text_format.Merge(
2076 text_format.Merge(
[all …]
/external/tensorflow/tensorflow/python/saved_model/
Dloader_impl.py25 from google.protobuf import text_format
75 text_format.Merge(file_content.decode("utf-8"), saved_model)
77 except text_format.ParseError as e:
/external/tensorflow/tensorflow/python/training/
Dcheckpoint_management.py27 from google.protobuf import text_format
242 text_format.MessageToString(ckpt))
275 text_format.Merge(file_content, ckpt)
293 except text_format.ParseError as e:

123