Skip to content
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

[Keras] Enable Dense operator for any input dims #16526

Merged

Conversation

echuraev
Copy link
Contributor

@echuraev echuraev commented Feb 5, 2024

Our dense op expects 2D, but there are no limitation in Keras on the shape of the input tensor. Reshaping of all "batch" axes into one was added in this commit. After that, it is possible to import Dense layer with ND input tensor from Keras to TVM.

cc: @masahi, @vvchernov, @Hzfengsy

Our dense op expects 2D, but there are no limitation in Keras on the
shape of the input tensor. Reshaping of all "batch" axes into one was
added in this commit. After that, it is possible to import Dense layer
with ND input tensor from Keras to TVM.
@masahi masahi merged commit 2dcf9ec into apache:main Feb 7, 2024
20 checks passed
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.

3 participants