Skip to content

Commit 2931ff9

Browse files
committed
convert dtype documentation, could maybe add 'modfidy with caution'
1 parent d29ff5a commit 2931ff9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bayesflow/adapters/transforms/convert_dtype.py

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

1111
@serializable(package="bayesflow.adapters")
1212
class ConvertDType(ElementwiseTransform):
13+
"""
14+
Default transform used to convert all floats from float64 to float32 to be in line with keras framework.
15+
"""
1316
def __init__(self, from_dtype: str, to_dtype: str):
1417
super().__init__()
1518

0 commit comments

Comments
 (0)