JKANG94 commented on issue #9423:
URL: https://github.com/apache/tvm/issues/9423#issuecomment-972612749


   @mehrdadh  I also met this problem. I used micro tvm to run tflitemodel on 
x86 host just like this 
http://tvm.apache.org/docs/how_to/work_with_microtvm/micro_tflite.html#sphx-glr-download-how-to-work-with-microtvm-micro-tflite-py,
 but I used the create_local_debug_executo for getting the runtime of the model.
   
   with tvm.micro.Session(generated_project.transport()) as session:
       debug_module = tvm.micro.create_local_debug_executor(
           module.get_graph_json(), session.get_system_lib(), session.device
       )
       debug_module.set_input(**module.get_params())
       debug_module.set_input(input_tensor, tvm.nd.array(np.array([0.5], 
dtype="float32")))
       print("########## Build untuning ##########")
       debug_module.run()
       del debug_module
   
   
   Can you see it?  Thank you!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to