Home
last modified time | relevance | path

Searched refs:meta_info_def (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/python/framework/
Dmeta_graph.py506 meta_graph_def.meta_info_def.stripped_default_attrs = True
509 def create_meta_graph_def(meta_info_def=None, argument
547 if meta_info_def and not isinstance(meta_info_def,
550 type(meta_info_def))
564 if not meta_info_def:
565 meta_info_def = meta_graph_pb2.MetaGraphDef.MetaInfoDef()
568 meta_info_def.tensorflow_version = versions.__version__
569 meta_info_def.tensorflow_git_version = versions.__git_version__
570 meta_graph_def.meta_info_def.MergeFrom(meta_info_def)
580 if len(meta_graph_def.meta_info_def.stripped_op_list.op) == 0:
[all …]
Dmeta_graph_test.py96 self.assertNotEqual(meta_graph_def.meta_info_def.tensorflow_version, "")
97 self.assertNotEqual(meta_graph_def.meta_info_def.tensorflow_git_version,
212 self.assertTrue(meta_graph_def.meta_info_def.stripped_default_attrs)
222 self.assertFalse(meta_graph_def.meta_info_def.stripped_default_attrs)
238 self.assertTrue(meta_graph_def.meta_info_def.stripped_default_attrs)
270 self.assertTrue(meta_graph_def.meta_info_def.stripped_default_attrs)
280 meta_info_def = meta_graph_pb2.MetaGraphDef.MetaInfoDef()
281 meta_info_def.stripped_op_list.op.add()
285 meta_info_def=meta_info_def, graph_def=graph_def,
290 self.assertTrue(meta_graph_def.meta_info_def.stripped_default_attrs)
Dtest_util_test.py178 meta_graph_def_outer.meta_info_def.meta_graph_version = "outer"
180 meta_graph_def_inner.meta_info_def.meta_graph_version = "inner"
181 meta_graph_def_outer.meta_info_def.any_info.Pack(meta_graph_def_inner)
/external/tensorflow/tensorflow/python/tools/
Dsaved_model_utils.py92 all_tags.append(list(meta_graph_def.meta_info_def.tags))
119 if set(meta_graph_def.meta_info_def.tags) == set_of_tags:
Dsaved_model_utils_test.py56 len(actual_saved_model_pb.meta_graphs[0].meta_info_def.tags), 1)
57 self.assertEqual(actual_saved_model_pb.meta_graphs[0].meta_info_def.tags[0],
Dsaved_model_cli.py367 meta_graph_def.meta_info_def.tags, denylisted_ops)
370 meta_graph_def.meta_info_def.tags)
/external/tensorflow/tensorflow/cc/saved_model/
Dreader_test.cc46 const auto& tags = meta_graph_def.meta_info_def().tags(); in CheckMetaGraphDef()
49 EXPECT_NE(meta_graph_def.meta_info_def().tensorflow_version(), ""); in CheckMetaGraphDef()
Dreader.cc60 for (const string& tag : graph_def.meta_info_def().tags()) { in FindMetaGraphDef()
/external/tensorflow/tensorflow/python/saved_model/
Dload_v1_in_v2.py77 tag_sets = [mg.meta_info_def.tags
269 meta_graph_def.meta_info_def.tensorflow_version)
271 meta_graph_def.meta_info_def.tensorflow_git_version)
Dsave.py710 meta_graph_def.meta_info_def.tags.append(tag_constants.SERVING)
711 meta_graph_def.meta_info_def.tensorflow_version = versions.__version__
712 meta_graph_def.meta_info_def.tensorflow_git_version = (
715 meta_graph_def.meta_info_def.stripped_default_attrs = True
716 meta_graph_def.meta_info_def.stripped_op_list.MergeFrom(
1209 function_aliases = meta_graph_def.meta_info_def.function_aliases
Dmethod_name_updater.py102 if tags is None or set(tags) == set(meta_graph_def.meta_info_def.tags):
Dloader_impl.py347 available_tags.append(set(meta_graph_def.meta_info_def.tags))
348 if set(meta_graph_def.meta_info_def.tags) == set(tags):
Dload.py882 and set(tags) != set(meta_graph_def.meta_info_def.tags)):
887 .format(export_dir, meta_graph_def.meta_info_def.tags, tags))
906 root.tensorflow_version = meta_graph_def.meta_info_def.tensorflow_version
908 meta_graph_def.meta_info_def.tensorflow_git_version)
Dsave_test.py203 saved_model_proto.meta_graphs[0].meta_info_def.tensorflow_version)
206 saved_model_proto.meta_graphs[0].meta_info_def.tensorflow_git_version)
803 save_dir).meta_graphs[0].meta_info_def.function_aliases
Dbuilder_impl.py146 meta_graph_def.meta_info_def.tags.append(tag)
Dsaved_model_test.py1518 if set(meta_graph_def.meta_info_def.tags) == set(["foo"]):
1520 elif set(meta_graph_def.meta_info_def.tags) == set(["bar"]):
/external/tensorflow/tensorflow/lite/python/
Dconvert_saved_model.py198 loader.load(sess, meta_graph.meta_info_def.tags, saved_model_dir)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-meta-graph-def.pbtxt6 name: "meta_info_def"
Dtensorflow.train.pbtxt313 …argspec: "args=[\'filename\', \'meta_info_def\', \'graph_def\', \'saver_def\', \'collection_list\'…
/external/tensorflow/tensorflow/python/training/
Dsaver.py1524 meta_info_def=None, argument
1592 meta_info_def=meta_info_def,
Dsaver_test.py1854 self.assertNotEqual(meta_graph_def.meta_info_def.tensorflow_version, "")
1855 self.assertNotEqual(meta_graph_def.meta_info_def.tensorflow_git_version,
2334 ops = [o.name for o in meta_graph_def.meta_info_def.stripped_op_list.op]
/external/tensorflow/tensorflow/python/compiler/tensorrt/
Dtrt_convert.py576 self._grappler_meta_graph_def.meta_info_def.CopyFrom(
577 input_meta_graph_def.meta_info_def)
/external/tensorflow/tensorflow/core/protobuf/
Dmeta_graph.proto75 MetaInfoDef meta_info_def = 1; field
/external/tensorflow/tensorflow/python/framework/testdata/
Dmetrics_export_meta_graph.pb1 meta_info_def {
/external/tensorflow/tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/
Dsaved_model.pbtxt3 meta_info_def {

12