Skip to content

Commit 29416d0

Browse files
committed
add serializable
1 parent 9fe12a8 commit 29416d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_networks/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from bayesflow.networks import MLP
44
from bayesflow.utils.tensor_utils import concatenate_valid
5+
from bayesflow.utils.serialization import serializable
56
import keras
67

78

@@ -17,6 +18,7 @@ def diffusion_model_edm_F():
1718
)
1819

1920

21+
@serializable("bayesflow.networks")
2022
class ConcatenateMLP(keras.Layer):
2123
def __init__(self, widths):
2224
super().__init__()

0 commit comments

Comments
 (0)