Skip to content

Allow custom registrations for built-in ops in MicroMutableOpResolver. #3178

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jerryjzy
Copy link

This change updates most Add<OpName>() methods in MicroMutableOpResolver to accept an optional TFLMRegistration argument. This enables users to provide a custom implementation for a built-in operator, while still defaulting to the standard registration if no argument is provided. Similar to pull request #1139

BUG=https://b/438299737

This change updates most `Add<OpName>()` methods in `MicroMutableOpResolver` to accept an optional `const TFLMRegistration& registration` argument. This enables users to provide a custom implementation for a built-in operator, while still defaulting to the standard registration if no argument is provided.
@jerryjzy jerryjzy requested a review from a team as a code owner August 12, 2025 23:28
@veblush veblush self-requested a review August 18, 2025 16:59
@veblush
Copy link
Collaborator

veblush commented Aug 18, 2025

It looks good to me. Would you fix this failure https://github.com/tensorflow/tflite-micro/actions/runs/17047136116/job/48325782262?pr=3178 ?

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

Successfully merging this pull request may close these issues.

3 participants