Home
last modified time | relevance | path

Searched refs:bad_consumers (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/python/saved_model/
Drevived_types.py29 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:
Drevived_types_test.py51 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=[])))
Dsave.py733 producer=1, min_consumer=1, bad_consumers=[]),
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/
Dgraph-version-info.pbtxt171 bad_consumers: 3
172 bad_consumers: 4
173 bad_consumers: 2
174 bad_consumers: 9
179 # CHECK-SAME: tf.versions = {bad_consumers = [3 : i32, 4 : i32, 2 : i32, 9 : i32], min_consumer = 7…
/external/tensorflow/tensorflow/core/framework/
Dversions.proto21 // consumer not in bad_consumers
31 repeated int32 bad_consumers = 3; field
Dversions.cc44 for (const int bad_consumer : versions.bad_consumers()) { in CheckVersions()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/
Dfunction-control-ret.mlir3 module attributes {tf.versions = {bad_consumers = [], min_consumer = 12 : i32, producer = 29 : i32}…
Ddevice-arg-attr.mlir5 module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 121 : i32}…
Dparse_example.mlir3 module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 175 : i32}…
/external/tensorflow/tensorflow/core/common_runtime/
Dgraph_execution_state.cc229 auto* bad_consumers = versions->mutable_bad_consumers(); in Extend() local
230 const std::unordered_set<int> existing(bad_consumers->begin(), in Extend()
231 bad_consumers->end()); in Extend()
232 for (const int v : extension_def.versions().bad_consumers()) { in Extend()
234 bad_consumers->Add(v); in Extend()
/external/tensorflow/tensorflow/core/graph/
Dgraph_constructor_test.cc1037 EXPECT_EQ(TF_GRAPH_DEF_VERSION - 1, graph_.versions().bad_consumers(0)); in TEST_F()
2818 EXPECT_EQ(dst.versions().bad_consumers(0), bad); in TEST_F()
2847 EXPECT_EQ(2, graph_.versions().bad_consumers(0)); in TEST_F()
2848 EXPECT_EQ(3, graph_.versions().bad_consumers(1)); in TEST_F()
2858 EXPECT_EQ(1, graph_.versions().bad_consumers(0)); in TEST_F()
2859 EXPECT_EQ(2, graph_.versions().bad_consumers(1)); in TEST_F()
2860 EXPECT_EQ(3, graph_.versions().bad_consumers(2)); in TEST_F()
2867 EXPECT_EQ(1, graph_.versions().bad_consumers(0)); in TEST_F()
2868 EXPECT_EQ(2, graph_.versions().bad_consumers(1)); in TEST_F()
2869 EXPECT_EQ(3, graph_.versions().bad_consumers(2)); in TEST_F()
Dgraph_constructor.cc1342 std::set<int> bad(g_versions.bad_consumers().begin(), in UpdateVersionDef()
1343 g_versions.bad_consumers().end()); in UpdateVersionDef()
1344 bad.insert(versions()->bad_consumers().begin(), in UpdateVersionDef()
1345 versions()->bad_consumers().end()); in UpdateVersionDef()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/
Dtpu-variable-runtime-reformatting.mlir5 module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}…
98 module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}…
Dshape_inference.mlir3 module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 130 : i32}…
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dimport_model.cc148 auto bad_consumers = b.getNamedAttr( in PopulateTfVersions() local
150 graph_versions.bad_consumers().begin(), in PopulateTfVersions()
151 graph_versions.bad_consumers().end()))); in PopulateTfVersions()
154 {producer, min_consumer, bad_consumers}))); in PopulateTfVersions()