Skip to content

Conversation

@grant-arm
Copy link
Contributor

Currently for the C Interface API, output tensor names default to "output", "output0", "output1" etc.
This is in contrast to the input tensor names that are derived from the model.

This PR updates the code to generate output tensor names derived from the model and updates unit tests accordingly.

@grant-arm
Copy link
Contributor Author

@grant-arm
Copy link
Contributor Author

@manupa-arm @Mousius @leandron @areusch would you mind taking a look at this now that the CI is green.

@Mousius
Copy link
Member

Mousius commented Feb 16, 2022

Overall looks ok to me @grant-arm , would just be good to use the name transformation functions if we can 😸

Change-Id: I90d86aef7d8b93fb937391a87f79ae9362207058
 * Update output tensor name in Zephyr AOT test

Change-Id: I90d983d0ccf216f923e2cd430581c0bad7afdf7a
 * Update FreeRTOS demo
 * Update Zephyr RTOS demo with CMSIS-NN

Change-Id: If1d255bc407503c203d66d1f3e04139c9cbed016
 * Use sanitize_name() function on output tensor names

Change-Id: I29452d24e13b6ed8b629241b9aa0dc090b42838e
@grant-arm grant-arm requested a review from Mousius February 21, 2022 09:53
@Mousius Mousius merged commit 81df151 into apache:main Feb 21, 2022
@Mousius
Copy link
Member

Mousius commented Feb 21, 2022

Fantastic improvement @grant-arm!

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.

2 participants