Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/python/framework/
Dmeta_graph.py511 meta_graph_def.meta_info_def.stripped_default_attrs = True
561 def create_meta_graph_def(meta_info_def=None, argument
599 if meta_info_def and not isinstance(meta_info_def,
602 type(meta_info_def))
616 if not meta_info_def:
617 meta_info_def = meta_graph_pb2.MetaGraphDef.MetaInfoDef()
620 meta_info_def.tensorflow_version = versions.__version__
621 meta_info_def.tensorflow_git_version = versions.__git_version__
622 meta_graph_def.meta_info_def.MergeFrom(meta_info_def)
632 if len(meta_graph_def.meta_info_def.stripped_op_list.op) == 0:
[all …]
Dmeta_graph_test.py95 self.assertNotEqual(meta_graph_def.meta_info_def.tensorflow_version, "")
96 self.assertNotEqual(meta_graph_def.meta_info_def.tensorflow_git_version,
188 self.assertTrue(meta_graph_def.meta_info_def.stripped_default_attrs)
198 self.assertFalse(meta_graph_def.meta_info_def.stripped_default_attrs)
214 self.assertTrue(meta_graph_def.meta_info_def.stripped_default_attrs)
246 self.assertTrue(meta_graph_def.meta_info_def.stripped_default_attrs)
256 meta_info_def = meta_graph_pb2.MetaGraphDef.MetaInfoDef()
257 meta_info_def.stripped_op_list.op.add()
261 meta_info_def=meta_info_def, graph_def=graph_def,
266 self.assertTrue(meta_graph_def.meta_info_def.stripped_default_attrs)
Dtest_util_test.py153 meta_graph_def_outer.meta_info_def.meta_graph_version = "outer"
155 meta_graph_def_inner.meta_info_def.meta_graph_version = "inner"
156 meta_graph_def_outer.meta_info_def.any_info.Pack(meta_graph_def_inner)
/external/tensorflow/tensorflow/python/tools/
Dsaved_model_utils.py91 all_tags.append(list(meta_graph_def.meta_info_def.tags))
116 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.py261 meta_graph_def.meta_info_def.tags, blacklisted_ops)
264 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/contrib/saved_model/python/saved_model/
Dreader_test.py54 len(actual_saved_model_pb.meta_graphs[0].meta_info_def.tags), 1)
55 self.assertEqual(actual_saved_model_pb.meta_graphs[0].meta_info_def.tags[0],
Dreader.py91 all_tags.append(list(meta_graph_def.meta_info_def.tags))
/external/tensorflow/tensorflow/contrib/meta_graph_transform/
Dmeta_graph_transform_test.py66 meta_info_def = meta_graph_pb2.MetaGraphDef.MetaInfoDef()
67 meta_info_def.tags.append('tag_ab')
70 meta_info_def=meta_info_def)
398 expected_meta_graph_def.meta_info_def.tags.append(tag_name)
Dmeta_graph_transform.py745 meta_graph_def.meta_info_def.CopyFrom(base_meta_graph_def.meta_info_def)
746 meta_graph_def.meta_info_def.ClearField('tags')
748 meta_graph_def.meta_info_def.tags.append(tag)
/external/tensorflow/tensorflow/python/saved_model/
Dload.py350 and set(tags) != set(meta_graph_def.meta_info_def.tags)):
355 .format(export_dir, meta_graph_def.meta_info_def.tags, tags))
Dload_v1_in_v2.py67 tag_sets = [mg.meta_info_def.tags
Dloader_impl.py315 if set(meta_graph_def.meta_info_def.tags) == set(tags):
Dbuilder_impl.py145 meta_graph_def.meta_info_def.tags.append(tag)
Dsave.py537 meta_graph_def.meta_info_def.tags.append(tag_constants.SERVING)
Dsaved_model_test.py1470 if set(meta_graph_def.meta_info_def.tags) == set(["foo"]):
1472 elif set(meta_graph_def.meta_info_def.tags) == set(["bar"]):
/external/tensorflow/tensorflow/contrib/predictor/
Dsaved_model_predictor.py56 if set(meta_graph_def.meta_info_def.tags) == set_of_tags:
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-meta-graph-def.pbtxt6 name: "meta_info_def"
Dtensorflow.train.pbtxt305 …argspec: "args=[\'filename\', \'meta_info_def\', \'graph_def\', \'saver_def\', \'collection_list\'…
/external/tensorflow/tensorflow/lite/python/
Dconvert_saved_model.py264 loader.load(sess, meta_graph.meta_info_def.tags, saved_model_dir)
/external/tensorflow/tensorflow/python/compiler/tensorrt/
Dtrt_convert.py258 self._grappler_meta_graph_def.meta_info_def.CopyFrom(
259 input_meta_graph_def.meta_info_def)
/external/tensorflow/tensorflow/python/training/
Dsaver.py1500 meta_info_def=None, argument
1566 meta_info_def=meta_info_def,
/external/tensorflow/tensorflow/core/protobuf/
Dmeta_graph.proto70 MetaInfoDef meta_info_def = 1; field

12