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
Describe the bug broadcast of scalar array in last dimension fails after #1035
To Reproduce
Include code snippet
>>> import mlx.core as mx >>> a = mx.zeros([2, 3, 4, 5, 3]) >>> a[..., 0] = 1 Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: [expand_dims] Invalid axes 4 for output array with 1 dimensions.
Expected behavior
This should be able to broadcast the scalar array into the last dimension.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
broadcast of scalar array in last dimension fails after #1035
To Reproduce
Include code snippet
Expected behavior
This should be able to broadcast the scalar array into the last dimension.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: