Skip to content

Instantly share code, notes, and snippets.

@powderluv
Forked from carlthome/tfcompile.ipynb
Created January 15, 2020 23:05
Show Gist options
  • Save powderluv/09e402b8cf52d27e8936adadd395c4fc to your computer and use it in GitHub Desktop.
Save powderluv/09e402b8cf52d27e8936adadd395c4fc to your computer and use it in GitHub Desktop.
Example of how to use XLA AOT via tfcompile to build a Keras model into a shared library.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bjs3118
Copy link

bjs3118 commented Jul 26, 2022

Do you know if there is anyway to build the model into a static library?

@powderluv
Copy link
Author

I would use IREE or SHARK these days instead of XLA for CPU and GPU to create static executables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment