Skip to content

Refactor ExecuTorch bindings #209

@pweglik

Description

@pweglik

Currently the forward function of useExecutorchModule accepts the following:

forward: (   input: ETInput[],   shape: number[][] | number[] )

This is pretty confusing and hard to work with for the developer using it and for us. This task aims to change the API to resemble how ExecuTorch tensors work, meaning that we would pass an array of Tensors to the forward function. Each Tensor would have its own dataPtr, scalar type, and shape.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions