1. 08 Nov, 2023 1 commit
    • Zakor Gyula's avatar
      Fix Round operator inaccuracy (#2244) · 48c4453c
      Zakor Gyula authored
      The inaccuracy was caused by ONNX round requires nearest integer rounding for halway (0.5) cases.
      std::round rounds away from zero, thus giving wrong results with halfway cases.
      Replaced std::round with std::nearbyint which uses the correct rounding by default.
      48c4453c
  2. 28 Sep, 2023 1 commit
    • Umang Yadav's avatar
      Add options to set tolerances inside MIGraphX driver (#2213) · 69d8d789
      Umang Yadav authored
      MIGraphX verification by default uses normalized RMS error as the basis for the verification.  This change adds some logic to allow migraphx to do "np.allclose" type of elementwise verification using atol and rtol.
      
      Commit also includes changes to consistently pass "gold" or "expected" results as the second argument for "verify_range()" calls.  Default RMS tolerance inside driver is set to 0.001 which IMO is high for FP32 compared to what we had earlier. Need better defaults
      69d8d789
  3. 16 Jul, 2023 1 commit
  4. 05 Jul, 2023 1 commit