Home
last modified time | relevance | path

Searched refs:IsEqualOrLessRestrictiveThan (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dallocator_test.cc65 TEST(AllocatorAttributesTest, IsEqualOrLessRestrictiveThan) { in TEST() argument
67 EXPECT_TRUE(a.IsEqualOrLessRestrictiveThan(b)); in TEST()
68 EXPECT_TRUE(a.IsEqualOrLessRestrictiveThan(a)); in TEST()
69 EXPECT_TRUE(b.IsEqualOrLessRestrictiveThan(b)); in TEST()
73 EXPECT_TRUE(a.IsEqualOrLessRestrictiveThan(b)); in TEST()
74 EXPECT_FALSE(b.IsEqualOrLessRestrictiveThan(a)); in TEST()
75 EXPECT_TRUE(a.IsEqualOrLessRestrictiveThan(a)); in TEST()
76 EXPECT_TRUE(b.IsEqualOrLessRestrictiveThan(b)); in TEST()
80 EXPECT_FALSE(a.IsEqualOrLessRestrictiveThan(b)); in TEST()
81 EXPECT_FALSE(b.IsEqualOrLessRestrictiveThan(a)); in TEST()
[all …]
Dallocator.h384 bool IsEqualOrLessRestrictiveThan(const AllocatorAttributes& other) const { in IsEqualOrLessRestrictiveThan() function
Dop_kernel.cc556 if (!output_attr.IsEqualOrLessRestrictiveThan(input_attr)) { in forward_input()