You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would make Nx a lot more accessible for screen readers if I could limit the precision of the output when printing tensors to screen.
I didn't know that the numbers Nx was printing to the screen were in scientific notation because I was skipping some of the digits with my screen reader (there is just too many of them)
Hi @a-alhusaini! We should definitely do something because the precision we print is also misleading, f32 doesn't have such a large precision, and maybe fixing that will already improve this issue considerably. See #448.
I'm surprised I only noticed this when you pointed it out. This leads me to conclude that most Nx users don't really care about the exact numbers being printed to the screen. Maybe truncating the printed output should be a default instead of a configuration option?
Just an idea I had. Not sure if it is good or not.
The precision it prints has additional digits which we should discard. Maybe nobody cares about the additional digits but they may care about missing digits.
I don't know either, just adding more context. :)
polvalente
changed the title
[Accessability] Add option to reduce precision when printing tensors to screen
[Accessibility] Add option to reduce precision when printing tensors to screen
Aug 26, 2023
It would make Nx a lot more accessible for screen readers if I could limit the precision of the output when printing tensors to screen.
I didn't know that the numbers Nx was printing to the screen were in scientific notation because I was skipping some of the digits with my screen reader (there is just too many of them)
This happenned here: elixir-nx/axon#526
I propose we add a config option that limits precision when tensors are printed ot the screen. Instead of a tensor that looks like this:
We would have
This shortened format would make Nx a lot easier to interact with for blind users (like me)
The text was updated successfully, but these errors were encountered: