-
Notifications
You must be signed in to change notification settings - Fork 6
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
ENH: create_diagonal
: support broadcasting
#137
base: main
Are you sure you want to change the base?
Conversation
98da195
to
de8e38e
Compare
I'm not entirely sure what I should do about the numpy dependency. Do I re-implement Also, I'm getting a strange error when trying to run the tests about a bad device. |
de8e38e
to
1e0b55d
Compare
create_diagonal
: support broadcasting
yes, we will want to remove the NumPy dependency. I don't know how easy it is to make
|
5be6c57
to
9d28bf5
Compare
Ready for your review 😄 |
538e551
to
04b970b
Compare
@mdhaber has |
What do you mean? I just need it for this |
I'm just wondering whether this is an instance of a problem that has appeared elsewhere |
Whenever I need |
04b970b
to
0bbe9ff
Compare
Sure, I was just asking Matt if anything like this had come up in the context of array-agnostic code yet for him |
Oh sorry! I didn't see the tag. I haven't been able to sleep tonight and I'm just tired. |
no worries! |
Yes, I used it in the decorator that adds batch support in I've thought about having a heuristic in |
Makes sense, thanks! In this case, does the approach of making |
91b2096
to
48bae8b
Compare
48bae8b
to
cf5874c
Compare
Fixes #136