Skip to content
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

No support for tensor image reshape in tflite android sdk from channel first to channel last or vice-versa. #883

Closed
pucha48 opened this issue Sep 9, 2022 · 1 comment

Comments

@pucha48
Copy link

pucha48 commented Sep 9, 2022

https://discuss.tensorflow.org/t/how-to-reshape-a-tensor-image-in-android-java-sdk-from-channel-first-to-channel-last/11810
How to reshape a tensor image in android java sdk from channel first to channel last?

@lu-wang-g
Copy link
Member

Reorder image dimensions like this not supported by TensorImage. TensorImage assumes the underlying buffer has size of [channel, width, height].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants