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

Reintroduce deprecated broadcastable keyword arguments #763

Conversation

brandonwillard
Copy link
Member

@brandonwillard brandonwillard commented Jan 18, 2022

This PR reintroduces the broadcastable keyword argument—with a warning—to TensorType.[__init__, clone] and the shared variable constructor. This keyword should account for most backward compatibility issues in external libraries.

This should retain most backward compatibility.
@codecov
Copy link

codecov bot commented Jan 18, 2022

Codecov Report

Merging #763 (8736400) into main (652e6e4) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #763   +/-   ##
=======================================
  Coverage   78.34%   78.35%           
=======================================
  Files         152      152           
  Lines       47656    47667   +11     
  Branches    10876    10879    +3     
=======================================
+ Hits        37337    37348   +11     
  Misses       7772     7772           
  Partials     2547     2547           
Impacted Files Coverage Δ
aesara/tensor/sharedvar.py 83.67% <100.00%> (+1.45%) ⬆️
aesara/tensor/type.py 92.25% <100.00%> (+0.13%) ⬆️

@brandonwillard brandonwillard merged commit c34f37f into aesara-devs:main Jan 18, 2022
@brandonwillard brandonwillard deleted the add-deprecated-broadcastable-keyword branch January 18, 2022 01:51
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.

1 participant