elixir-nx / nx

Multi-dimensional arrays (tensors) and numerical definitions for Elixir
2.66k stars 194 forks source link

Fix min / max value for 16 bit signed type #1516

Closed preciz closed 3 months ago

preciz commented 3 months ago

Fixes min / max value for 16 bit signed type, plus a small typo fix.

https://github.com/elixir-nx/nx/blob/2f44f4a9bf950ef4cbeb719785d9d9d881690bb9/exla/test/exla/defn/expr_test.exs#L1108-L1110

Thank you for reviewing.

josevalim commented 3 months ago

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart: