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

Clean up SparseTensorType #1192

Merged

Conversation

brandonwillard
Copy link
Member

This PR cleans up the interface and error behavior of SparseTensorType—mostly relative to TensorType. It also contains some docstring and comment refactoring in the aesara.sparse sub-package.

@codecov
Copy link

codecov bot commented Sep 17, 2022

Codecov Report

Merging #1192 (dc294fc) into main (5043ac8) will increase coverage by 0.01%.
The diff coverage is 92.15%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1192      +/-   ##
==========================================
+ Coverage   79.12%   79.13%   +0.01%     
==========================================
  Files         173      173              
  Lines       48458    48465       +7     
  Branches    10961    10963       +2     
==========================================
+ Hits        38341    38354      +13     
+ Misses       7610     7608       -2     
+ Partials     2507     2503       -4     
Impacted Files Coverage Δ
aesara/sparse/sharedvar.py 94.11% <ø> (ø)
aesara/sparse/type.py 81.57% <86.66%> (+8.68%) ⬆️
aesara/ifelse.py 51.28% <100.00%> (+0.28%) ⬆️
aesara/sparse/basic.py 82.87% <100.00%> (-0.02%) ⬇️
aesara/graph/basic.py 89.00% <0.00%> (-0.30%) ⬇️

@rlouf rlouf linked an issue Sep 17, 2022 that may be closed by this pull request
@rlouf rlouf linked an issue Sep 17, 2022 that may be closed by this pull request
@rlouf
Copy link
Member

rlouf commented Sep 17, 2022

Does this solve the inconsistencies observed in #881?

@brandonwillard brandonwillard merged commit 7d0edb8 into aesara-devs:main Sep 17, 2022
@brandonwillard brandonwillard deleted the misc-sparse-refactoring branch September 17, 2022 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor This issue involves refactoring sparse tensors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Continue cleaning up the sparse/dense tensor types
3 participants