Skip to content

Commit d086c05

Browse files
committed
revert using Sequential in classifier_two_sample_test.py
1 parent dd1ca0c commit d086c05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bayesflow/diagnostics/metrics/classifier_two_sample_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import keras
66

77
from bayesflow.utils.exceptions import ShapeError
8-
from bayesflow.networks import MLP, Sequential
8+
from bayesflow.networks import MLP
99

1010

1111
def classifier_two_sample_test(
@@ -96,7 +96,7 @@ def classifier_two_sample_test(
9696
labels = labels[shuffle_idx]
9797

9898
# Create and train classifier with optional stopping
99-
classifier = Sequential(
99+
classifier = keras.Sequential(
100100
[MLP(widths=mlp_widths, **kwargs.get("mlp_kwargs", {})), keras.layers.Dense(1, activation="sigmoid")]
101101
)
102102

0 commit comments

Comments
 (0)