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

Include more PyTensor functions in math module #6956

Merged
merged 2 commits into from
Oct 20, 2023

Conversation

jaharvey8
Copy link
Contributor

@jaharvey8 jaharvey8 commented Oct 15, 2023

Added zeros, ones, fill, fill_like, broadcast_to, mean, matmul to math.py issue #6948


📚 Documentation preview 📚: https://pymc--6956.org.readthedocs.build/en/6956/

@jaharvey8
Copy link
Contributor Author

Looks like fill_like isn't in pytensor.tensor. Should I remove and recommit?

@ricardoV94
Copy link
Member

Might be called full_like (in which case we want full instead of fill as well)

@ricardoV94 ricardoV94 changed the title Adding functions to math.py issue #6948 Add more PyTensor functions to math module Oct 17, 2023
@ricardoV94 ricardoV94 changed the title Add more PyTensor functions to math module Include more PyTensor functions in math module Oct 17, 2023
@codecov
Copy link

codecov bot commented Oct 19, 2023

Codecov Report

Merging #6956 (f69846e) into main (03f9f72) will increase coverage by 3.12%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #6956      +/-   ##
==========================================
+ Coverage   89.01%   92.14%   +3.12%     
==========================================
  Files         100      100              
  Lines       16859    16859              
==========================================
+ Hits        15007    15534     +527     
+ Misses       1852     1325     -527     
Files Coverage Δ
pymc/math.py 69.69% <ø> (ø)

... and 17 files with indirect coverage changes

@ricardoV94 ricardoV94 marked this pull request as ready for review October 20, 2023 10:02
@ricardoV94
Copy link
Member

ricardoV94 commented Oct 20, 2023

LGTM, any other thing people would like to add?

CC @cluhmann

@cluhmann
Copy link
Member

Nice! This looks great.

@twiecki twiecki merged commit 5f29b25 into pymc-devs:main Oct 20, 2023
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants