Conversation
| tol, | ||
| w_optimizer_state, | ||
| b_optimizer_state, | ||
| opts |
There was a problem hiding this comment.
Btw, when you have too many arguments like this, you can wrap the arguments that don't change (are fixed in the loop) in a map and pass it down. Helps clean up while loops and Elixir signatures!
There was a problem hiding this comment.
This works for tensors as well, right?
Apart from that, CI is failing. I am working on it.
There was a problem hiding this comment.
Sorry, I am not sure I understood. 😅
Would having a while loop as {result, state} = while ... where state is a map work? Is this something new in Nx?
There was a problem hiding this comment.
Yes, it works. It is quite old i think :)
|
Alright, this was way more work than I thought :) |
|
It is your decision to merge it! I can ship a new version afterwards! |
Alright then, merged. :) |
|
P.S. I am having issues compiling EXLA 0.9.2 on my M1 Mac. Perhaps we should bump the version? |
|
Released (and feel free to bump Nx as well!) |
Changes:
predictandpredict_probaFixes #301