Searched refs:bad_consumers (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/python/saved_model/ |
D | revived_types.py | 29 min_consumer_version, bad_consumers=None, setter=setattr): argument 69 if bad_consumers is None: 70 bad_consumers = [] 71 self._bad_consumers = bad_consumers 83 bad_consumers=self._bad_consumers)) 97 for bad_version in proto.version.bad_consumers:
|
D | revived_types_test.py | 51 bad_consumers=[3]), 68 bad_consumers=[]))) 73 self.assertEqual([3], serialized.version.bad_consumers) 85 bad_consumers=[]))) 95 bad_consumers=[4, 3]))) 105 bad_consumers=[])))
|
D | save.py | 592 producer=1, min_consumer=1, bad_consumers=[]))
|
/external/tensorflow/tensorflow/core/framework/ |
D | versions.proto | 21 // consumer not in bad_consumers 31 repeated int32 bad_consumers = 3; field
|
D | versions.cc | 44 for (const int bad_consumer : versions.bad_consumers()) { in CheckVersions()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | graph_execution_state.cc | 179 auto* bad_consumers = versions->mutable_bad_consumers(); in Extend() local 180 const std::unordered_set<int> existing(bad_consumers->begin(), in Extend() 181 bad_consumers->end()); in Extend() 182 for (const int v : extension_def.versions().bad_consumers()) { in Extend() 184 bad_consumers->Add(v); in Extend()
|
/external/tensorflow/tensorflow/core/graph/ |
D | graph_constructor_test.cc | 1038 EXPECT_EQ(TF_GRAPH_DEF_VERSION - 1, graph_.versions().bad_consumers(0)); in TEST_F() 2819 EXPECT_EQ(dst.versions().bad_consumers(0), bad); in TEST_F() 2848 EXPECT_EQ(2, graph_.versions().bad_consumers(0)); in TEST_F() 2849 EXPECT_EQ(3, graph_.versions().bad_consumers(1)); in TEST_F() 2859 EXPECT_EQ(1, graph_.versions().bad_consumers(0)); in TEST_F() 2860 EXPECT_EQ(2, graph_.versions().bad_consumers(1)); in TEST_F() 2861 EXPECT_EQ(3, graph_.versions().bad_consumers(2)); in TEST_F() 2868 EXPECT_EQ(1, graph_.versions().bad_consumers(0)); in TEST_F() 2869 EXPECT_EQ(2, graph_.versions().bad_consumers(1)); in TEST_F() 2870 EXPECT_EQ(3, graph_.versions().bad_consumers(2)); in TEST_F()
|
D | graph_constructor.cc | 1096 std::set<int> bad(versions.bad_consumers().begin(), in UpdateVersionDef() 1097 versions.bad_consumers().end()); in UpdateVersionDef() 1098 bad.insert(versions_->bad_consumers().begin(), in UpdateVersionDef() 1099 versions_->bad_consumers().end()); in UpdateVersionDef()
|