Skip to content

Commit c1bc59e

Browse files
committed
[no ci] docs: minor formatting in adapter
1 parent 46c3c46 commit c1bc59e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

bayesflow/adapters/adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def apply(
241241
exclude: str | Sequence[str] = None,
242242
**kwargs,
243243
):
244-
"""Append a :py:class:`~transforms.LambdaTransform` to the adapter.
244+
"""Append a :py:class:`~transforms.NumpyTransform` to the adapter.
245245
246246
Parameters
247247
----------

bayesflow/adapters/transforms/numpy_transform.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class NumpyTransform(ElementwiseTransform):
99
"""
1010
A class to apply element-wise transformations using plain NumPy functions.
1111
12-
Attributes:
12+
Attributes
1313
----------
1414
_forward : str
1515
The name of the NumPy function to apply in the forward transformation.
@@ -31,11 +31,11 @@ def __init__(self, forward: str, inverse: str = None):
3131
"""
3232
Initializes the NumpyTransform with specified forward and inverse functions.
3333
34-
Parameters:
34+
Parameters
3535
----------
36-
forward: str
36+
forward : str
3737
The name of the NumPy function to use for the forward transformation.
38-
inverse: str, optional
38+
inverse : str, optional
3939
The name of the NumPy function to use for the inverse transformation.
4040
By default, the inverse is inferred from the forward argument for supported methods.
4141
"""

0 commit comments

Comments
 (0)