We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16234f9 commit a545da9Copy full SHA for a545da9
test/pytest/test_qeinsum.py
@@ -3,19 +3,17 @@
3
import keras
4
import numpy as np
5
import pytest
6
-from keras.api.layers import Input
7
8
from hls4ml.converters import convert_from_keras_model
9
10
-if keras.__version__ < '3.0.0':
11
- pytest.skip('Only keras v3 is supported for now', allow_module_level=True)
12
-
13
try:
14
from hgq.layers import QEinsum
15
from hgq.utils import trace_mode
16
except ImportError:
17
pytest.skip('s-quark is not installed', allow_module_level=True)
18
+from keras.api.layers import Input
+
19
test_root_path = Path(__file__).parent
20
21
0 commit comments