Home
last modified time | relevance | path

Searched refs:is_pot (Results 1 – 5 of 5) sorted by relevance

/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/
A Dsize_util_test.cc37 if (is_pot(value)) { in SizeUtilTestValue()
48 EXPECT_TRUE(is_pot(round_down_pot(value))); in SizeUtilTestValue()
51 EXPECT_EQ(value >> ceil_log2(value), is_pot(value) ? 1 : 0); in SizeUtilTestValue()
55 EXPECT_TRUE(is_pot(round_up_pot(value))); in SizeUtilTestValue()
A Dsize_util.h72 constexpr bool is_pot(Integer value) { in is_pot() function
78 RUY_DCHECK(is_pot(n)); in pot_log2()
A Dkernel.h108 static_assert(is_pot(LhsLayout::kRows), "");
109 static_assert(is_pot(LhsLayout::kCols), "");
110 static_assert(is_pot(RhsLayout::kRows), "");
111 static_assert(is_pot(RhsLayout::kCols), "");
A Dallocator.cc77 static_assert(is_pot(kMinPeriod), ""); in AllocateBytesAvoidingAliasingWith()
A Dmat.h374 RUY_DCHECK(is_pot(layout.kernel.rows)); in Offset()
375 RUY_DCHECK(is_pot(layout.kernel.cols)); in Offset()

Completed in 8 milliseconds