Skip to content

Conversation

@abrown
Copy link
Collaborator

@abrown abrown commented Oct 28, 2023

Closes #48.


/// Extract the outputs after inference.
get-output: func(ctx: graph-execution-context, index: u32) -> result<tensor-data, error>;
get-output: func(ctx: graph-execution-context, name: string) -> result<tensor-data, error>;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably return tensor and not tensor data, but is outside the scope of the changes in this PR>

@abrown abrown marked this pull request as ready for review November 9, 2023 20:34
@abrown
Copy link
Collaborator Author

abrown commented Nov 9, 2023

Ok, merging like we discussed in the 10-31 meeting.

@abrown abrown merged commit 8bd40e2 into WebAssembly:main Nov 9, 2023
@abrown abrown deleted the named-tensors branch November 9, 2023 20:39
@abrown abrown mentioned this pull request Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use names instead of numbers to identify inputs and outputs

2 participants