Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/framework/
Dmeta_graph.py501 meta_graph_def.meta_info_def.stripped_default_attrs = True
504 def create_meta_graph_def(meta_info_def=None, argument
542 if meta_info_def and not isinstance(meta_info_def,
545 type(meta_info_def))
559 if not meta_info_def:
560 meta_info_def = meta_graph_pb2.MetaGraphDef.MetaInfoDef()
563 meta_info_def.tensorflow_version = versions.__version__
564 meta_info_def.tensorflow_git_version = versions.__git_version__
565 meta_graph_def.meta_info_def.MergeFrom(meta_info_def)
575 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,
189 self.assertTrue(meta_graph_def.meta_info_def.stripped_default_attrs)
199 self.assertFalse(meta_graph_def.meta_info_def.stripped_default_attrs)
215 self.assertTrue(meta_graph_def.meta_info_def.stripped_default_attrs)
247 self.assertTrue(meta_graph_def.meta_info_def.stripped_default_attrs)
257 meta_info_def = meta_graph_pb2.MetaGraphDef.MetaInfoDef()
258 meta_info_def.stripped_op_list.op.add()
262 meta_info_def=meta_info_def, graph_def=graph_def,
267 self.assertTrue(meta_graph_def.meta_info_def.stripped_default_attrs)
Dtest_util_test.py154 meta_graph_def_outer.meta_info_def.meta_graph_version = "outer"
156 meta_graph_def_inner.meta_info_def.meta_graph_version = "inner"
157 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.py509 meta_graph_def.meta_info_def.tags, blacklisted_ops)
512 meta_graph_def.meta_info_def.tags)
/external/tensorflow/tensorflow/cc/saved_model/
Dreader_test.cc39 const auto& tags = meta_graph_def.meta_info_def().tags(); in CheckMetaGraphDef()
42 EXPECT_NE(meta_graph_def.meta_info_def().tensorflow_version(), ""); in CheckMetaGraphDef()
Dreader.cc59 for (const string& tag : graph_def.meta_info_def().tags()) { in FindMetaGraphDef()
/external/tensorflow/tensorflow/python/saved_model/
Dload_v1_in_v2.py74 tag_sets = [mg.meta_info_def.tags
252 meta_graph_def.meta_info_def.tensorflow_version)
254 meta_graph_def.meta_info_def.tensorflow_git_version)
Dsave.py635 meta_graph_def.meta_info_def.tags.append(tag_constants.SERVING)
636 meta_graph_def.meta_info_def.tensorflow_version = versions.__version__
637 meta_graph_def.meta_info_def.tensorflow_git_version = (
640 meta_graph_def.meta_info_def.stripped_default_attrs = True
641 meta_graph_def.meta_info_def.stripped_op_list.MergeFrom(
982 function_aliases = meta_graph_def.meta_info_def.function_aliases
Dload.py589 and set(tags) != set(meta_graph_def.meta_info_def.tags)):
594 .format(export_dir, meta_graph_def.meta_info_def.tags, tags))
603 root.tensorflow_version = meta_graph_def.meta_info_def.tensorflow_version
605 meta_graph_def.meta_info_def.tensorflow_git_version)
Dloader_impl.py346 available_tags.append(set(meta_graph_def.meta_info_def.tags))
347 if set(meta_graph_def.meta_info_def.tags) == set(tags):
Dmethod_name_updater.py101 if tags is None or set(tags) == set(meta_graph_def.meta_info_def.tags):
Dsave_test.py190 saved_model_proto.meta_graphs[0].meta_info_def.tensorflow_version)
193 saved_model_proto.meta_graphs[0].meta_info_def.tensorflow_git_version)
568 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.py1481 if set(meta_graph_def.meta_info_def.tags) == set(["foo"]):
1483 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.pbtxt309 …argspec: "args=[\'filename\', \'meta_info_def\', \'graph_def\', \'saver_def\', \'collection_list\'…
/external/tensorflow/tensorflow/python/training/
Dsaver.py1510 meta_info_def=None, argument
1578 meta_info_def=meta_info_def,
Dsaver_test.py1855 self.assertNotEqual(meta_graph_def.meta_info_def.tensorflow_version, "")
1856 self.assertNotEqual(meta_graph_def.meta_info_def.tensorflow_git_version,
2331 ops = [o.name for o in meta_graph_def.meta_info_def.stripped_op_list.op]
/external/tensorflow/tensorflow/python/compiler/tensorrt/
Dtrt_convert.py608 self._grappler_meta_graph_def.meta_info_def.CopyFrom(
609 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 {