Skip to content

How to enable Flex delegates? #41

@vishnukvmd

Description

@vishnukvmd

On TFLite's Android plugin, Flex delegates can be enabled by adding implementation 'org.tensorflow:tensorflow-lite-select-tf-ops:2.12.0' to the dependencies within android/build.gradle, and by attaching the delegate to the interpreter's options:

final Interpreter.Options options = new Interpreter.Options();
FlexDelegate flexDelegate = new FlexDelegate();
options.addDelegate(flexDelegate);
final interpreter = new Interpreter(buffer, options);

How can we accomplish the same on Flutter?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions