Skip to content

Commit e4d62fb

Browse files
committed
Removed sde_type from FlowMatchingSimformer as unused
1 parent 666c097 commit e4d62fb

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

sbi/inference/trainers/vfpe/simformer.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ def __init__(
139139
str,
140140
MaskedVectorFieldEstimatorBuilder,
141141
] = "simformer",
142-
sde_type: Literal["vp", "ve", "subvp"] = "ve",
143142
posterior_latent_idx: Optional[list | Tensor] = None,
144143
posterior_observed_idx: Optional[list | Tensor] = None,
145144
device: str = "cpu",
@@ -159,7 +158,6 @@ def __init__(
159158
or a callable that implements the `MaskedVectorFieldEstimatorBuilder`
160159
protocol. If a callable, `__call__` must accept `inputs`, and return
161160
a `MaskedConditionalVectorFieldEstimator`.
162-
sde_type: Type of SDE to use. Must be one of ['vp', 've', 'subvp'].
163161
posterior_latent_idx: List or Tensor of indexes identifying which
164162
variables are latent (to be infered),
165163
i.e, which variables identify $\theta$.
@@ -182,7 +180,6 @@ def __init__(
182180
logging_level=logging_level,
183181
summary_writer=summary_writer,
184182
show_progress_bars=show_progress_bars,
185-
sde_type=sde_type,
186183
**kwargs,
187184
)
188185

sbi/neural_nets/factory.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,6 @@ def simformer_flow_nn(
710710
711711
Args:
712712
model (str): Name of the model architecture to use. Default is "simformer".
713-
sde_type (str): Type of stochastic differential equation (SDE) to use.
714713
hidden_features (int): Number of hidden features in each layer. Default is 100.
715714
num_heads (int): Number of attention heads in the transformer layers.
716715
num_layers (int): Number of transformer layers. Default is 8.

0 commit comments

Comments
 (0)