Problems with TFlite

Hi everyone!

I,m working on a model that it has been built for tensorflow, but when i looking for putting in some mobile platform that it arch64 linux based, i have to use the tflite(because i have not been able to put tensorflow, jsut tflite, tfslim, os something like this)
Here is the problem, tflite apparently has not attribute function, how to avoid this, or how to change this to let the code work properly?
Thank you so much
BTW: I can already work with tflite models, and everything works properly, but i want to try this even if i have to make a lot of changes in the code.