I've used the following linker command to convert a TensorFlow model file myv2.tflite
to "dummy" object file myv2.o
, so that I can link it into an executable, to avoid having to drag this file separately:
ld --relocatable --format=binary --output=myv2.o myv2.tflite
I've done this on Ubuntu x86_64. However, I will need to do the same for Arm. I suppose I cannot reuse the same myv2.o
? Do I have to regenerate the file on Arm using ld
from an appropriate Arm toolchain?