how to set input of Tensorflow Lite C++
Resolved by changing
interpreter->typed_tensor<float>(0)[0] = x;
to
interpreter->typed_input_tensor<float>(0)[0] = x;
Resolved by changing
interpreter->typed_tensor<float>(0)[0] = x;
to
interpreter->typed_input_tensor<float>(0)[0] = x;