Skip to content

Commit c5a3267

Browse files
committed
added basic documentation to transform.py
1 parent 67600c0 commit c5a3267

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bayesflow/adapters/transforms/transform.py

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

55
@serializable(package="bayesflow.adapters")
66
class Transform:
7+
"""
8+
Base class on which other transforms are based
9+
"""
710
def __call__(self, data: dict[str, np.ndarray], *, inverse: bool = False, **kwargs) -> dict[str, np.ndarray]:
811
if inverse:
912
return self.inverse(data, **kwargs)

0 commit comments

Comments
 (0)