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
Typically when you add shapes that are mismatched, broadcasting is expected.
# Numpy example of expected broadcasting
>>> np.array([[1, 2]]) + np.array([[1], [2]])
array([[2, 3],
[3, 4]])
This works as expected when inputting a numpy array, but when fed through via pm.Data, the broadcasting does not work as expected, and raises an exception on the mismatched shapes.
Please provide a minimal, self-contained, and reproducible example.
Description of your problem
Typically when you add shapes that are mismatched, broadcasting is expected.
This works as expected when inputting a numpy array, but when fed through via
pm.Data
, the broadcasting does not work as expected, and raises an exception on the mismatched shapes.Please provide a minimal, self-contained, and reproducible example.
Please provide the full traceback.
Complete error traceback
Please provide any additional information below.
Versions and main components
The text was updated successfully, but these errors were encountered: