Title: Make masking more efficient for reduce_to_vector · Issue #14 · python-graphblas/python-mlir-graphblas · GitHub
Open Graph Title: Make masking more efficient for reduce_to_vector · Issue #14 · python-graphblas/python-mlir-graphblas
X Title: Make masking more efficient for reduce_to_vector · Issue #14 · python-graphblas/python-mlir-graphblas
Description: The mask in reduce_to_vector is a Vector, while the input is a Matrix, making it impossible to apply the mask prior to the operation. If select_by_mask could do vec->matrix broadcasting, the mask could be applied earlier and possibly sav...
Open Graph Description: The mask in reduce_to_vector is a Vector, while the input is a Matrix, making it impossible to apply the mask prior to the operation. If select_by_mask could do vec->matrix broadcasting, the mask c...
X Description: The mask in reduce_to_vector is a Vector, while the input is a Matrix, making it impossible to apply the mask prior to the operation. If select_by_mask could do vec->matrix broadcasting, the mas...
Opengraph URL: https://github.com/python-graphblas/python-mlir-graphblas/issues/14
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make masking more efficient for reduce_to_vector","articleBody":"The mask in `reduce_to_vector` is a Vector, while the input is a Matrix, making it impossible to apply the mask prior to the operation. If `select_by_mask` could do vec-\u003ematrix broadcasting, the mask could be applied earlier and possibly save compute time.\r\n\r\nAlternatively, the mask could be brought into the `linalg.generic` loop and used to skip entire rows.\r\n\r\nThe 2nd approach would be faster and simpler if it works.","author":{"url":"https://github.com/jim22k","@type":"Person","name":"jim22k"},"datePublished":"2023-02-24T22:01:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/14/python-mlir-graphblas/issues/14"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:625fb50a-1914-53d0-693c-546d70b9cfd1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 937C:8B475:4EBA42:6E13DD:698DF4CE |
| html-safe-nonce | 319e99033efa2940782bd45376b2aaed9b7a93519dfa726ce1aa3dfa9a58e5b0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzdDOjhCNDc1OjRFQkE0Mjo2RTEzREQ6Njk4REY0Q0UiLCJ2aXNpdG9yX2lkIjoiMjkyMzMzNDI3NzM1NjQ1MTAyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b313ccc0b1d934edab7445a567004c1fdeacd84d65f65c5802001583ae131659 |
| hovercard-subject-tag | issue:1599327807 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-graphblas/python-mlir-graphblas/14/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5c801bae56c80820e9c631a360a132ce1384795b69ff25df7c76140cf27f4ff1/python-graphblas/python-mlir-graphblas/issues/14 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5c801bae56c80820e9c631a360a132ce1384795b69ff25df7c76140cf27f4ff1/python-graphblas/python-mlir-graphblas/issues/14 |
| og:image:alt | The mask in reduce_to_vector is a Vector, while the input is a Matrix, making it impossible to apply the mask prior to the operation. If select_by_mask could do vec->matrix broadcasting, the mask c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jim22k |
| hostname | github.com |
| expected-hostname | github.com |
| None | ae22ef6ad27c5aeb770c5acd314c5724055bb23a663877aafdaaa50ed317ba34 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-graphblas/python-mlir-graphblas git https://github.com/python-graphblas/python-mlir-graphblas.git |
| octolytics-dimension-user_id | 103965858 |
| octolytics-dimension-user_login | python-graphblas |
| octolytics-dimension-repository_id | 591062105 |
| octolytics-dimension-repository_nwo | python-graphblas/python-mlir-graphblas |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 591062105 |
| octolytics-dimension-repository_network_root_nwo | python-graphblas/python-mlir-graphblas |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e545f5becd5b3ce9b429b68c3f994ad93c680ddb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width