Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update readme#74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
sdpython merged 11 commits intomainfromread
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
11 commits
Select commitHold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
fix format
  • Loading branch information
@xadupre
xadupre committedFeb 7, 2024
commit18f03276e397ec2d18b8fedc9fa33e65b71e2b04
14 changes: 7 additions & 7 deletions_unittests/ut_reference/test_evaluator_yield.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -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(
Expand Down
2 changes: 1 addition & 1 deletiononnx_array_api/reference/evaluator_yield.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -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)
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp