Skip to content

Commit a868dd3

Browse files
authored
increase precision in model comparison (#97)
* increase precision * cache * switch to :g
1 parent 3de3c5d commit a868dd3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run: python -m pip install -r requirements-dev.txt
3636

3737
- name: Cache pip
38-
uses: actions/cache@v2
38+
uses: actions/cache@v4
3939
with:
4040
path: ~/.cache/pip
4141
key: ${{ runner.os }}-pip-${{ hashFiles('requirements-dev.txt') }}

onnx_array_api/reference/evaluator_yield.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ def to_str(
446446
):
447447
disc = discrepancies(d1.value, d2.value)
448448
a, r = disc["aerr"], disc["rerr"]
449-
line += f" | a={a:.3f} r={r:.3f}"
449+
line += f" | a={a:.5g} r={r:.5g}"
450450
elif i == last[0]:
451451
d2 = s2[j]
452452
line = (

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy