diff --git a/apps/microtvm/cmsisnn/convert_image.py b/apps/microtvm/cmsisnn/convert_image.py index 0b56c8dee247..b7930ff73efc 100755 --- a/apps/microtvm/cmsisnn/convert_image.py +++ b/apps/microtvm/cmsisnn/convert_image.py @@ -34,7 +34,7 @@ def create_header_file(name, tensor_name, tensor_data, output_path): header_file.write( "\n" + f"const size_t {tensor_name}_len = {tensor_data.size};\n" - + f'int8_t {tensor_name}[] = "' + + f'__attribute__((section(".data.tvm"), aligned(16))) int8_t {tensor_name}[] = "' ) data_hexstr = tensor_data.tobytes().hex()