New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TfLite: adds generate-pc.sh #58586
TfLite: adds generate-pc.sh #58586
Conversation
This change adds the generate-pc.sh file for generating the tensorflowlite.pc that can be used by pkg-config. This is useful for the platforms that depend on libtensorflowlite.so instead of the libtensorflow.so.
Hi @terryheo, could you also help take a look? |
@drah I'm not familiar with |
Thanks Terry, For example, And then we can run pkg-config like: |
my 2c: I think we should reuse https://github.com/tensorflow/tensorflow/blob/master/tensorflow/c/generate-pc.sh instead of duplicating the shell code a separate file in lite/ (thesorflow_cc is not in the cc directory either) |
Thanks afq984 for the comment. |
tensorflow/lite/generate-pc.sh
Outdated
|
||
Name: TensorFlowLite | ||
Version: ${TF_VERSION} | ||
Description: Library for computation using data flow graphs for scalable machine learning |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's TF description. For TFLite, let's use this.
"Library for deploying models on mobile, microcontrollers and other edge devices."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This change adds the generate-pc.sh file for generating the
tensorflowlite.pc that can be used by pkg-config.
This is useful for the platforms that depend on libtensorflowlite.so
instead of the libtensorflow.so.