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 29416d0 commit 4202554Copy full SHA for 4202554
tests/test_networks/conftest.py
@@ -1,9 +1,8 @@
1
import pytest
2
3
-from bayesflow.networks import MLP
+from bayesflow.networks import MLP, Sequential
4
from bayesflow.utils.tensor_utils import concatenate_valid
5
from bayesflow.utils.serialization import serializable
6
-import keras
7
8
9
@pytest.fixture()
@@ -19,7 +18,7 @@ def diffusion_model_edm_F():
19
18
20
21
@serializable("bayesflow.networks")
22
-class ConcatenateMLP(keras.Layer):
+class ConcatenateMLP(Sequential):
23
def __init__(self, widths):
24
super().__init__()
25
self.widths = widths
0 commit comments