Skip to main content

This package is intended for matrix blocks, boosting a sparse matrix multiplication followed by selecting the top-n multiplication

Project description

sparse_dot_topn_for_blocks:

sparse_dot_topn_for_blocks is a slight variation of sparse_dot_topn which provides a fast way to perform sparse matrix multiplication followed by top-n selection and sorting in each row.

It has the same interface as sparse_dot_topn but additionally allows an array to be passed which will be updated with the maximum number of nonzero elements of each row of the result matrix with values above the given lower bound. This is suitable for block-matrix multiplication. That's all!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sparse_dot_topn_for_blocks-0.3.1.post2.tar.gz (17.3 kB view details)

Uploaded Source

File details

Details for the file sparse_dot_topn_for_blocks-0.3.1.post2.tar.gz.

File metadata

  • Download URL: sparse_dot_topn_for_blocks-0.3.1.post2.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2

File hashes

Hashes for sparse_dot_topn_for_blocks-0.3.1.post2.tar.gz
Algorithm Hash digest
SHA256 6634625c83b5d93ea7eff371f75ff503f003398c56c8ca858e7b2d6a0079b534
MD5 987a36cbbd1fce52279e4735c2e13688
BLAKE2b-256 875af63ac92289b81d83ebde627d9b5b974a5bfa2ed95c164bb2323e944b57ae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page