Skip to content

Commit 5cb223f

Browse files
committed
Name fix in Evidential
1 parent bc231a9 commit 5cb223f

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

bayesflow/default_settings.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,14 @@ def __init__(self, meta_dict: dict, mandatory_fields: list = []):
6666

6767

6868
DEFAULT_SETTING_MULTI_CONV = {
69-
'layer_args': {
70-
'activation': 'relu',
71-
'filters': 32,
72-
'strides': 1,
73-
'padding': 'causal'
74-
},
75-
'min_kernel_size': 1,
76-
'max_kernel_size': 3
69+
'layer_args': {
70+
'activation': 'relu',
71+
'filters': 32,
72+
'strides': 1,
73+
'padding': 'causal'
74+
},
75+
'min_kernel_size': 1,
76+
'max_kernel_size': 3
7777
}
7878

7979

@@ -84,7 +84,7 @@ def __init__(self, meta_dict: dict, mandatory_fields: list = []):
8484
}
8585

8686

87-
DEFAULT_SETTINGS_DENSE_EVIDENTIAL = {
87+
DEFAULT_SETTING_DENSE_EVIDENTIAL = {
8888
'units': 128,
8989
'kernel_initializer': 'lecun_normal',
9090
'activation': 'selu',

bayesflow/inference_networks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def __init__(self, num_models, dense_args=None, num_dense=3, output_activation='
242242
super().__init__(**kwargs)
243243

244244
if dense_args is None:
245-
dense_args = default_settings.DEFAULT_SETTINGS_DENSE_EVIDENTIAL
245+
dense_args = default_settings.DEFAULT_SETTING_DENSE_EVIDENTIAL
246246

247247
# A network to increase representation power
248248
self.dense = tf.keras.Sequential([

bayesflow/networks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020

2121
"""Meta-module for easy access of different neural network architecture interfaces"""
2222
from bayesflow.inference_networks import InvertibleNetwork, EvidentialNetwork
23-
from bayesflow.summary_networks import InvariantNetwork, SequentialNetwork
23+
from bayesflow.summary_networks import InvariantNetwork, SequentialNetwork

0 commit comments

Comments
 (0)