0

The working .tflite model in android is not working on iOS app

Its giving NULL for out

uint8_t* out = interpreter->typed_tensor<uint8_t>(input);

May I know what are all the possibilities that out = NULL

And may I know whats input cause for the example provided on tensorflow-lite the input = 88 and I'm getting input = 27

int input = interpreter->inputs()[0];

1 Answer 1

0

I have resolved the issue, i.e. used float instead of uint8_t

float* out = interpreter->typed_tensor<float>(input);

But still waiting for answer of this question

May I know whats input cause for the example provided on tensorflow-lite the input = 88 and I'm getting input = 27

int input = interpreter->inputs()[0];

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.