Skip to content

Commit

Permalink
minor reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
arogozhnikov committed Sep 16, 2024
1 parent ea55d38 commit 8a0ba22
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions einops/tests/test_other.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,10 @@ def test_failures():
parse_shape(backend.from_numpy(x), pattern)


_SYMBOLIC_BACKENDS = collect_test_backends(symbolic=True, layers=False) + collect_test_backends(
symbolic=True, layers=True
)
_SYMBOLIC_BACKENDS = [
*collect_test_backends(symbolic=True, layers=False),
*collect_test_backends(symbolic=True, layers=True),
]

# tensorflow.keras needs special way to compile,
# shape vars can be used only inside layers but not as outputs
Expand Down

0 comments on commit 8a0ba22

Please sign in to comment.