Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/framework/
Dallocator_test.cc64 TEST(AllocatorAttributesTest, IsEqualOrLessRestrictiveThan) { in TEST() argument
66 EXPECT_TRUE(a.IsEqualOrLessRestrictiveThan(b)); in TEST()
67 EXPECT_TRUE(a.IsEqualOrLessRestrictiveThan(a)); in TEST()
68 EXPECT_TRUE(b.IsEqualOrLessRestrictiveThan(b)); in TEST()
72 EXPECT_TRUE(a.IsEqualOrLessRestrictiveThan(b)); in TEST()
73 EXPECT_FALSE(b.IsEqualOrLessRestrictiveThan(a)); in TEST()
74 EXPECT_TRUE(a.IsEqualOrLessRestrictiveThan(a)); in TEST()
75 EXPECT_TRUE(b.IsEqualOrLessRestrictiveThan(b)); in TEST()
79 EXPECT_FALSE(a.IsEqualOrLessRestrictiveThan(b)); in TEST()
80 EXPECT_FALSE(b.IsEqualOrLessRestrictiveThan(a)); in TEST()
[all …]
Dallocator.h374 bool IsEqualOrLessRestrictiveThan(const AllocatorAttributes& other) const { in IsEqualOrLessRestrictiveThan() function
Dop_kernel.cc554 if (!output_attr.IsEqualOrLessRestrictiveThan(input_attr)) { in forward_input()