-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Conversation
build_jenkins |
build_jenkins |
src/frontends/tensorflow_lite/tests/test_models/gen_scripts/generate_densify.py
Outdated
Show resolved
Hide resolved
: 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), |
There was a problem hiding this comment.
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.
src/frontends/tensorflow_lite/include/openvino/frontend/tensorflow_lite/sparsity_info.hpp
Outdated
Show resolved
Hide resolved
for (auto idx = indices->begin(); idx != indices->end(); ++idx) { | ||
if (*idx <= last_idx) { | ||
data += row_size; | ||
U last_segment = *segments->begin(); |
There was a problem hiding this comment.
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.?
There was a problem hiding this comment.
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.
dequantize and densify layers, removed unnecessary test
…nerate_densify.py Co-authored-by: Roman Kazantsev <[email protected]>
…flow_lite/sparsity_info.hpp Co-authored-by: Roman Kazantsev <[email protected]>
Co-authored-by: Roman Kazantsev <[email protected]>
Co-authored-by: Roman Kazantsev <[email protected]>
Co-authored-by: Roman Kazantsev <[email protected]>
Co-authored-by: Roman Kazantsev <[email protected]>
### 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]>
Details:
Tickets: