`_.
+
+::
+
+ 1 = | INITIA float64 1 HAAA Ad_Addcst | INITIA float64 1 HAAA Ad_Addcst
+ 2 = | INITIA float64 4x4 ADZF Ge_Gemmcst | INITIA float64 4x4 ADZF Ge_Gemmcst
+ 3 = | INITIA float64 4 USEA Ge_Gemmcst1 | INITIA float64 4 USEA Ge_Gemmcst1
+ 4 = | INITIA float64 1 AAAA Mu_Mulcst | INITIA float64 1 AAAA Mu_Mulcst
+ 5 = | INITIA float64 1 DAAA Ad_Addcst1 | INITIA float64 1 DAAA Ad_Addcst1
+ 6 = | INITIA float64 1 AAAA Ad_Addcst2 | INITIA float64 1 AAAA Ad_Addcst2
+ 7 = | INPUT float64 1x4 AAAA X | INPUT float64 1x4 AAAA X
+ 8 = | RESULT float64 1x4 UTFC Gemm Ge_Y0 | RESULT float64 1x4 UTFC Gemm Ge_Y0
+ 9 + | | RESULT float64 1x4 TIEG Mul Mu_C01
+ 10 ~ | RESULT float64 1x1 NAAA ReduceSumS Re_reduced0 | RESULT float64 1x1 NAAA ReduceSum Re_reduced0
+ 11 = | RESULT float64 1x1 NAAA Concat Co_concat_re | RESULT float64 1x1 NAAA Concat Co_concat_re
+ 12 = | RESULT float64 1x1 UAAA Add Ad_C02 | RESULT float64 1x1 UAAA Add Ad_C02
+ 13 = | RESULT float64 1x1 DAAA Mul Mu_C0 | RESULT float64 1x1 DAAA Mul Mu_C0
+ 14 = | RESULT float64 1x1 GAAA Add Ad_C01 | RESULT float64 1x1 GAAA Add Ad_C01
+ 15 = | RESULT float64 1x1 GAAA Add Ad_C0 | RESULT float64 1x1 GAAA Add Ad_C0
+ 16 = | RESULT int64 1x1 AAAA ArgMax label | RESULT int64 1x1 AAAA ArgMax label
+ 17 + | | RESULT float64 1x1 GAAA ReduceMax Re_reduced03
+ 18 + | | RESULT float64 1x1 AAAA Sub Su_C01
+ 19 + | | RESULT float64 1x1 BAAA Exp Ex_output0
+ 20 + | | RESULT float64 1x1 BAAA ReduceSum Re_reduced02
+ 21 + | | RESULT float64 1x1 AAAA Log Lo_output0
+ 22 ~ | RESULT float64 1x1 GAAA ReduceLogS score_sample | RESULT float64 1x1 GAAA Add score_sample
+ 23 = | RESULT float64 1x1 AAAA Sub Su_C0 | RESULT float64 1x1 AAAA Sub Su_C0
+ 24 = | RESULT float64 1x1 BAAA Exp probabilitie | RESULT float64 1x1 BAAA Exp probabilitie
+ 25 = | OUTPUT int64 1x1 AAAA label | OUTPUT int64 1x1 AAAA label
+ 26 = | OUTPUT float64 1x1 BAAA probabilitie | OUTPUT float64 1x1 BAAA probabilitie
+ 27 = | OUTPUT float64 1x1 GAAA score_sample | OUTPUT float64 1x1 GAAA score_sample
diff --git a/_unittests/onnx-numpy-skips.txt b/_unittests/onnx-numpy-skips.txt
index d47cefd..1d46bbb 100644
--- a/_unittests/onnx-numpy-skips.txt
+++ b/_unittests/onnx-numpy-skips.txt
@@ -1,6 +1,7 @@
# API failures
# see https://github.com/data-apis/array-api-tests/blob/master/numpy-skips.txt
# uses __setitem__
+array_api_tests/test_creation_functions.py::test_arange
array_api_tests/test_creation_functions.py::test_asarray_arrays
array_api_tests/test_creation_functions.py::test_empty
array_api_tests/test_creation_functions.py::test_empty_like
diff --git a/_unittests/ut_reference/test_evaluator_yield.py b/_unittests/ut_reference/test_evaluator_yield.py
index 467e6f9..e7f6817 100644
--- a/_unittests/ut_reference/test_evaluator_yield.py
+++ b/_unittests/ut_reference/test_evaluator_yield.py
@@ -422,13 +422,13 @@ def test_distance_sequence_str(self):
text = dc.to_str(s1, s2, align)
self.assertIn("OUTPUT", text)
expected = """
- 1=|INPUTfloat322x2ABCDA|INPUTfloat322x2ABCDA
- 2=|INPUTfloat322x2ABCDB|INPUTfloat322x2ABCDB
- 3~|INPUTfloat322x3ABCDX|INPUTfloat322x2ABCDX
- 4-|RESULTfloat322x2CEIOExpH|
- 5=|RESULTfloat322x2CEIOLinearRegrY1|RESULTfloat322x2CEIOLinearRegrY1
- 6~|RESULTfloat322x2CEIOAbsY|RESULTfloat322x3CEIPAbsZ
- 7~|OUTPUTfloat322x2CEIOY|OUTPUTfloat322x2CEIPY
+ 001=|INPUTfloat322x2ABCDA|INPUTfloat322x2ABCDA
+ 002=|INPUTfloat322x2ABCDB|INPUTfloat322x2ABCDB
+ 003~|INPUTfloat322x3ABCDX|INPUTfloat322x2ABCDX
+ 004-|RESULTfloat322x2CEIOExpH|
+ 005=|RESULTfloat322x2CEIOLinearRegrY1|RESULTfloat322x2CEIOLinearRegrY1
+ 006~|RESULTfloat322x2CEIOAbsY|RESULTfloat322x3CEIPAbsZ
+ 007~|OUTPUTfloat322x2CEIOY|OUTPUTfloat322x2CEIPY
""".replace(
" ", ""
).strip(
diff --git a/onnx_array_api/reference/evaluator_yield.py b/onnx_array_api/reference/evaluator_yield.py
index 40ec97f..df171a6 100644
--- a/onnx_array_api/reference/evaluator_yield.py
+++ b/onnx_array_api/reference/evaluator_yield.py
@@ -368,7 +368,7 @@ def to_str(
else:
d1 = s1[i]
line = f"- | {_align(str(d1), column_size)} | {_align('', column_size)}"
- rows.append(f"{row_index: 3d} {line}")
+ rows.append(f"{row_index:03d} {line}")
last = i, j
row_index += 1
return "\n".join(rows)
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