diff --git a/tensorflow/lite/micro/recording_micro_allocator_test.cc b/tensorflow/lite/micro/recording_micro_allocator_test.cc index fa77278d013..121a74c3324 100644 --- a/tensorflow/lite/micro/recording_micro_allocator_test.cc +++ b/tensorflow/lite/micro/recording_micro_allocator_test.cc @@ -157,10 +157,6 @@ TF_LITE_MICRO_TEST(TestRecordsMultiTenantAllocations) { tensors_count * TF_LITE_EVAL_TENSOR_STRUCT_SIZE * 2); } -// TODO(veblush): Reenable this -// Currently those two tests are failing with -// "qemu: uncaught target signal 7 (Bus error) - core dumped" -#if 0 TF_LITE_MICRO_TEST(TestRecordsPersistentTfLiteTensorData) { const tflite::Model* model = tflite::GetModel(kTestConvModelData); uint8_t arena[kTestConvArenaSize]; @@ -231,7 +227,6 @@ TF_LITE_MICRO_TEST(TestRecordsPersistentTfLiteTensorQuantizationData) { TF_LITE_MICRO_EXPECT_GE(recorded_allocation.used_bytes, expected_requested_bytes); } -#endif TF_LITE_MICRO_TEST(TestRecordsPersistentBufferData) { uint8_t arena[kTestConvArenaSize]; diff --git a/tensorflow/lite/micro/testing/test_conv_model.cc b/tensorflow/lite/micro/testing/test_conv_model.cc index 358479c3155..e206d6968af 100644 --- a/tensorflow/lite/micro/testing/test_conv_model.cc +++ b/tensorflow/lite/micro/testing/test_conv_model.cc @@ -15,7 +15,7 @@ limitations under the License. #include "tensorflow/lite/micro/testing/test_conv_model.h" -extern const unsigned char kTestConvModelData[] = { +alignas(16) const unsigned char kTestConvModelData[] = { 0x24, 0x00, 0x00, 0x00, 0x54, 0x46, 0x4c, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x00, 0x1c, 0x00, 0x04, 0x00, 0x08, 0x00, 0x0c, 0x00, 0x10, 0x00, 0x14, 0x00, 0x00, 0x00, 0x18, 0x00,