Skip to content

Commit 70c6235

Browse files
committed
sanitize input shape with smaller batch size
1 parent 365a601 commit 70c6235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bayesflow/utils/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def sanitize_input_shape(fn: Callable):
122122
def callback(input_shape: Shape) -> Shape:
123123
if input_shape[0] is None:
124124
input_shape = list(input_shape)
125-
input_shape[0] = 32
125+
input_shape[0] = 1
126126
return tuple(input_shape)
127127
return input_shape
128128

0 commit comments

Comments
 (0)