Show HN: AI-related Jax module (I hate if)github.com/PJHkorea 3 pointsPJHkorea2 months ago5 commentsSaveHideCopy link On HNComments−Hussain042moFor optimizers.py, are you relying purely on boolean arithmetic for these masks, or did you find a more elegant mathematical workaround to avoid the branching overhead entirely?−PJHkoreaOP2moThanks to that, I discovered additional errors and corrected them in various ways. Thank you.−Hussain042moGood to hear!−PJHkoreaOP2moi naver imagined it i've made the corrections thank you!−PJHkoreaOP2mooptimizers.py -> using algebraic expressing without using 'if'geometry.py -> I leveled it outmath_guardrails.py -> facilitates learning through slight tiliingjax it truly precious it cures my insomnia
Comments
For optimizers.py, are you relying purely on boolean arithmetic for these masks, or did you find a more elegant mathematical workaround to avoid the branching overhead entirely?
Thanks to that, I discovered additional errors and corrected them in various ways. Thank you.
Good to hear!
i naver imagined it i've made the corrections thank you!
optimizers.py -> using algebraic expressing without using 'if'
geometry.py -> I leveled it out
math_guardrails.py -> facilitates learning through slight tiliing
jax it truly precious it cures my insomnia