Skip to content

Commit ff2db55

Browse files
committed
[no ci] remove subnet deprecation in cont-time CM
1 parent a611f70 commit ff2db55

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

bayesflow/experimental/continuous_time_consistency_model.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

44
import numpy as np
55

6-
import warnings
7-
86
from bayesflow.networks import MLP
97
from bayesflow.types import Tensor
108
from bayesflow.utils import (
@@ -60,13 +58,6 @@ def __init__(
6058
"""
6159
super().__init__(base_distribution="normal", **kwargs)
6260

63-
if subnet_kwargs:
64-
warnings.warn(
65-
"Using `subnet_kwargs` is deprecated."
66-
"Instead, instantiate the network yourself and pass the arguments directly.",
67-
DeprecationWarning,
68-
)
69-
7061
subnet_kwargs = subnet_kwargs or {}
7162

7263
self.subnet = find_network(subnet, **subnet_kwargs)

0 commit comments

Comments
 (0)