We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import aesara.tensor as at constant_size = at.constant([1]) specify_size = at.specify_shape(constant_size, [1]) print(constant_size.type) # TensorType(int32, (True,)) print(specify_size.type) # TensorType(int32, (True,)) print(at.alloc(0, *constant_size).type) # TensorType(int8, (True,)) print(at.alloc(0, *specify_size).type) # TensorType(int8, vector)
The text was updated successfully, but these errors were encountered:
Generalize broadcastables inference and fix Alloc broadcastables case
c67e71b
Closes aesara-devs#692
Alloc
as_tensor_variable
ndim=0
34375f4
Closes #692
brandonwillard
Successfully merging a pull request may close this issue.
The text was updated successfully, but these errors were encountered: