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

Incorrect signature for MicroInterpreter initialization #8

Open
johnosbb opened this issue Aug 31, 2024 · 0 comments
Open

Incorrect signature for MicroInterpreter initialization #8

johnosbb opened this issue Aug 31, 2024 · 0 comments

Comments

@johnosbb
Copy link

In classification.ino

The call to initialize the MicorInterpreter is:
// Initialize the TFLu interpreter
tflu_interpreter = new tflite::MicroInterpreter(tflu_model, tflu_ops_resolver, tensor_arena, tensor_arena_size, &tflu_error);

But the available signatures for the constructors are:
MicroInterpreter::MicroInterpreter(const Model* model,
const MicroOpResolver& op_resolver,
uint8_t* tensor_arena,
size_t tensor_arena_size,
MicroResourceVariables* resource_variables,
MicroProfilerInterface* profiler)

MicroInterpreter::MicroInterpreter(const Model* model,
const MicroOpResolver& op_resolver,
MicroAllocator* allocator,
MicroResourceVariables* resource_variables,
MicroProfilerInterface* profiler)

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

No branches or pull requests

1 participant