onnxruntime
754dba26 - Change to std::fill (#21759)

Commit
1 year ago
Change to std::fill (#21759) ### Description Replace `memset(0)` with `std::fill(T{})`. This would ensure that all the types are initialized in a portable way. ### Motivation and Context Some platforms exhibit intermittent failures with NaN results. Follow up to: https://github.com/microsoft/onnxruntime/pull/21525 Cc: @ranjitshs
Author
Parents
Loading