Home
last modified time | relevance | path

Searched refs:AlignSizeUp (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/lite/micro/
Dmemory_helpers_test.cc106 TF_LITE_MICRO_EXPECT_EQ(static_cast<size_t>(1), tflite::AlignSizeUp(1, 1)); in TF_LITE_MICRO_TEST()
107 TF_LITE_MICRO_EXPECT_EQ(static_cast<size_t>(2), tflite::AlignSizeUp(1, 2)); in TF_LITE_MICRO_TEST()
108 TF_LITE_MICRO_EXPECT_EQ(static_cast<size_t>(3), tflite::AlignSizeUp(1, 3)); in TF_LITE_MICRO_TEST()
109 TF_LITE_MICRO_EXPECT_EQ(static_cast<size_t>(16), tflite::AlignSizeUp(1, 16)); in TF_LITE_MICRO_TEST()
111 TF_LITE_MICRO_EXPECT_EQ(static_cast<size_t>(23), tflite::AlignSizeUp(23, 1)); in TF_LITE_MICRO_TEST()
112 TF_LITE_MICRO_EXPECT_EQ(static_cast<size_t>(24), tflite::AlignSizeUp(23, 2)); in TF_LITE_MICRO_TEST()
113 TF_LITE_MICRO_EXPECT_EQ(static_cast<size_t>(24), tflite::AlignSizeUp(23, 3)); in TF_LITE_MICRO_TEST()
114 TF_LITE_MICRO_EXPECT_EQ(static_cast<size_t>(32), tflite::AlignSizeUp(23, 16)); in TF_LITE_MICRO_TEST()
Dmemory_helpers.h34 size_t AlignSizeUp(size_t size, size_t alignment);
Dmemory_helpers.cc44 size_t AlignSizeUp(size_t size, size_t alignment) { in AlignSizeUp() function
Dmicro_allocator.cc346 AlignSizeUp(current->bytes, kBufferAlignment); in CreatePlan()