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

[GNA] KSOFunction test fix #6678

Merged
merged 2 commits into from
Jul 19, 2021
Merged

Conversation

andreysapozhn
Copy link
Contributor

Details:

  • Deprecated check has been removed in SubstituteScaleShiftBroadCastPass
  • Changed order of passes in gna_lugin.cpp due to dimensions inconsistency and memory errors in TransposeWeightsFromNCHWToNHWCPass
  • Added check in TransposeWeightsFromNCHWToNHWCPass to avoid memory errors in future
  • Added 4d shape in EltwiseReshapeActivation test
  • Removed string related to KSOFunction test in GNA skip config

Tickets:

  • 51525

@openvino-pushbot openvino-pushbot added category: GNA OpenVINO GNA plugin category: IE Tests OpenVINO Test: plugins and common labels Jul 16, 2021
if (totalElements != totalWeights) {
THROW_GNA_EXCEPTION << l->name << " weights columns from transposition info (" << totalElements
<< ") don't match input dimensions (" << totalWeights << ")";
}
Copy link
Contributor

Choose a reason for hiding this comment

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

since this code is similar with one for FullyConnected layer I'd create a lambda function (something like transpInfoMatchWeightsSize) and call it in all required places

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, that makes sense

@andreysapozhn andreysapozhn force-pushed the gna_kso_tests branch 2 times, most recently from f17a35d to 7f9d816 Compare July 16, 2021 12:22
THROW_GNA_EXCEPTION << "For layer: " << l->name
<< " weights size(" << weightsElements<< ") invalid: should match input size of(" << lastD << ")";
}
// TODO: add broadcasting rules checks
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not add those checks right now?

@mryzhov mryzhov merged commit 955c0a6 into openvinotoolkit:master Jul 19, 2021
rnugmanx pushed a commit to rnugmanx/openvino that referenced this pull request Aug 26, 2021
* [GNA] KSOFunction test fix

* Lambda for dimensions matching check
andrei-cv pushed a commit to andrei-cv/openvino that referenced this pull request Aug 30, 2021
* [GNA] KSOFunction test fix

* Lambda for dimensions matching check
akuporos pushed a commit to akuporos/openvino that referenced this pull request Sep 29, 2021
* [GNA] KSOFunction test fix

* Lambda for dimensions matching check
tadamowicz pushed a commit to tadamowicz/openvino that referenced this pull request Aug 30, 2023
* [GNA] KSOFunction test fix

* Lambda for dimensions matching check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: GNA OpenVINO GNA plugin category: IE Tests OpenVINO Test: plugins and common
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants