-
Notifications
You must be signed in to change notification settings - Fork 74.2k
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
Address missing TensorFlow operations to TFLite: #21526
Comments
Hi, If anyone's not working on this, then I would like to work on it. |
Hi, is it worth waiting for implementation FakeQuantWithMinMaxVarsPerChannel? |
Hi all, As we work toward fleshing out the builtin op library for TensorFlow Lite, we've been working on an experimental feature that allows using select TensorFlow ops from within the TensorFlow Lite runtime. The goal is to help reduce some of the friction for using models that rely on ops not yet natively supported by TensorFlow Lite (at the cost of increased binary size). This feature requires opting in during model conversion, as well as adding an additional dependency. More details can be found here. Feedback is very much appreciated (either via GitHub or directly via [email protected]), and we'll be adding and refining functionality over the coming weeks. Cheers. |
It is unlikely that we'll adding additional support for FakeQuant ops in the near future. Your best bet is to look into using post-training quantization. |
Hi @StephenLee2016 Conv3D is one of the select TF ops supported via tflite_convert. |
TF version is 1.12.0, I can not find target_ops options in tflite_convert, why? |
@ToBigboss Please note that you will need to build from source to gain early access to the new features. |
Facing the same issue, only that I don't know how to use Conv2D instead of Conv1D. Could you point me to some tutorial/reference? |
Hi @mirkomartn, what you could do is well summarized in the last comment here: #43141. |
@Lucy20211 Great, thank you! |
Wanted to add |
#50595 requests BroadcastGradientArgs, DynamicStitch, EluGrad, Sign, StridedSliceGrad, UnsortedSegmentSum |
Can tf.einsum be supported? |
tf.einsum with static shape is fully supported via our converter. I think you need dynamic shape, right? |
Hi, |
Failed porting |
Would be useful to have:
Model is I3D with a custom top layer. |
I want to let my model .pb file to .tflite, and run on edge device. The error is : I also get some trouble about : Do you have any solution of these error? |
Since all the issues mentioned in the task is closed, cloud you please close this issue. Thanks! |
This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you. |
Closing as stale. Please reopen if you'd like to work on this further. |
tf.raw_ops.MatrixInverse is not supported in tflite, while Op BatchMatrixInverse is not available in GraphDef version 1205. How can i calculate the inverse of the matrix in tflite? |
request to add tf.keras.layers.TextVectorization in tflite ops |
TensorListReserve would be much appreciated |
Request to add tf.RealDiv and tf.erf please. Thanks! |
Request to add Recurrent Layers (GRU, LSTM). |
We track operations that we need add to TensorFlow Lite here:
Please comment with new operations you may want, we will add them to the list and remove your comment. Thanks!
The text was updated successfully, but these errors were encountered: