i.MX RT6xx undefined reference to tflite::FlatBufferModel::BuildFromFile()

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX RT6xx undefined reference to tflite::FlatBufferModel::BuildFromFile()

645 Views
yugandhar421
Contributor II

Hi,

I tested TensorFlow Lite demo application for i.MX RT6xx available at https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/Create-a-eIQ-TensorFlow-Lite-library-demo-for-i-... and it is working fine with sine model proivided inside the demo app.

Now I want to test my tflite model which is around 10MB, so I changed code to load tflite model from file as below

 

//model = tflite::FlatBufferModel::BuildFromBuffer(sine_model_quantized_tflite, sine_model_quantized_tflite_len);

model = tflite::FlatBufferModel::BuildFromFile("test.tflite");

 

When I build the project, I am getting undefined reference error with tflite BuildFromFile method.

Is tflite for microcontrollers has any limitations? Or am I need to build tflite library again with required API?

 

If anyone has ideas or solution, please help me.

 

Thanks,

Yugandhar

Labels (1)
Tags (2)
0 Kudos
0 Replies