Skip to content

Removed hardcoded shapes from LogSoftmax operation#4475

Merged
ilyachur merged 4 commits intoopenvinotoolkit:masterfrom
ilyachur:fix_log_softmax_reshape
Feb 25, 2021
Merged

Removed hardcoded shapes from LogSoftmax operation#4475
ilyachur merged 4 commits intoopenvinotoolkit:masterfrom
ilyachur:fix_log_softmax_reshape

Conversation

@ilyachur
Copy link
Copy Markdown
Contributor

Details:

  • Removed branch which has created the Reshape with hardcoded shapes. After this branch we hadn't be able to make a reshape to another shape for the nGraph function.

Tickets:

  • 45000

@ilyachur ilyachur added bug Something isn't working category: onnx importer labels Feb 25, 2021
@ilyachur ilyachur added this to the 2021.3 milestone Feb 25, 2021
@ilyachur ilyachur requested review from a team, e-nugmanova and tomdol February 25, 2021 10:02
@ilyachur
Copy link
Copy Markdown
Contributor Author

@tomdol I didn't find a place to add new tests for this change. Do we have tests which check that we can reshape nGraph function after the ONNX importer?

@tomdol
Copy link
Copy Markdown
Contributor

tomdol commented Feb 25, 2021

This is tested in e2e tests but not per-op, it's done per-model and I'm not sure if LogSoftmax is used in any of them. Let me check the code and get back to you about it.

@ilyachur
Copy link
Copy Markdown
Contributor Author

@tomdol I added new tests. Please have a look.

@ilyachur ilyachur merged commit 1458ba3 into openvinotoolkit:master Feb 25, 2021
@ilyachur ilyachur deleted the fix_log_softmax_reshape branch February 25, 2021 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants