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

Tensor sparsity metric #1293

Closed
wants to merge 10 commits into from

Conversation

kylesayrs
Copy link

@kylesayrs kylesayrs commented Jun 13, 2024

Implements sparsity metric for initializer tensors as a first step to supporting #1240 and #65.

  • Add style member to view.Argument to store style
  • Implement the percentage style for displaying percentages such as sparsity
  • Add a metrics section to the TensorSidebar which displays tensor metrics
  • Lazily calculate metrics of a tensor only when demanded by TensorSidebar

Tensor Properties sidebar now includes a metrics section with sparsity
Screenshot 2024-06-13 at 00 32 36

Tensors which are not initializers do not have metrics
Screenshot 2024-06-13 at 00 33 04

lutzroeder added a commit that referenced this pull request Jun 15, 2024
source/view.js Show resolved Hide resolved
source/view.js Show resolved Hide resolved
source/view.js Show resolved Hide resolved
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.

2 participants