You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
numpy.full works with shape as int and the pt.full docstring suggests that it works like numpy. However, this case does not work with current main branch of pytensor
Traceback (most recent call last):
pt.full(5, 3)
File "/home/.../pytensor/tensor/basic.py", line 1722, in full
return alloc(fill_value, *shape)
^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Value after * must be an iterable, not int
PyTensor version information:
current main branch
Context for the issue:
Trying to switch out numpy with pytensor
The text was updated successfully, but these errors were encountered:
Describe the issue:
numpy.full works with shape as int and the pt.full docstring suggests that it works like numpy. However, this case does not work with current main branch of pytensor
Reproducable code example:
Error message:
PyTensor version information:
current main branch
Context for the issue:
Trying to switch out numpy with pytensor
The text was updated successfully, but these errors were encountered: