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

[TFLite] Fixed Densify reading implementation #24707

Merged
merged 11 commits into from
May 29, 2024

Conversation

gkrivor
Copy link
Contributor

@gkrivor gkrivor commented May 27, 2024

Details:

  • Fixed Densify reading implementation
  • Added test for Densify
  • Added test for Dequantize
  • Removed unnecessary model test

Tickets:

  • 127943

@github-actions github-actions bot added category: CPP API OpenVINO CPP API bindings category: TFL FE OpenVINO TensorFlow Lite FrontEnd labels May 27, 2024
@gkrivor
Copy link
Contributor Author

gkrivor commented May 27, 2024

build_jenkins

@gkrivor gkrivor marked this pull request as ready for review May 27, 2024 15:25
@gkrivor gkrivor requested a review from a team as a code owner May 27, 2024 15:25
@gkrivor
Copy link
Contributor Author

gkrivor commented May 27, 2024

build_jenkins

: m_shape(shape),
m_traversal_order(traversal_order),
m_block_map(block_map),
m_dim_format(dim_format),
m_data_desc(data_desc) {
m_data_desc(data_desc),
Copy link
Contributor

Choose a reason for hiding this comment

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

can you give description to SparsityInfo class? From your perspective, you should know for which cases it is needed.
It will be very helpful.

for (auto idx = indices->begin(); idx != indices->end(); ++idx) {
if (*idx <= last_idx) {
data += row_size;
U last_segment = *segments->begin();
Copy link
Contributor

Choose a reason for hiding this comment

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

can you please elaborate a logic behind this? What is a segment, last segment, etc.?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe better to do it as a separate PR, because it will be just a comments. Let me check how many time I have.

@gkrivor gkrivor added this pull request to the merge queue May 29, 2024
Merged via the queue into openvinotoolkit:master with commit 60b2068 May 29, 2024
117 checks passed
@gkrivor gkrivor deleted the tflite_densify branch May 29, 2024 07:47
allnes pushed a commit to allnes/openvino that referenced this pull request Jun 27, 2024
### Details:
 - Fixed Densify reading implementation
 - Added test for Densify
 - Added test for Dequantize
 - Removed unnecessary model test

### Tickets:
 - 127943

---------

Co-authored-by: Roman Kazantsev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: CPP API OpenVINO CPP API bindings category: TFL FE OpenVINO TensorFlow Lite FrontEnd
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants