Skip to content

Commit 07cc9c7

Browse files
jmitrevsvloncar
authored andcommitted
increase bitwidth to make test comparisons succeed
1 parent e82d275 commit 07cc9c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/pytest/test_keras_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ def test_depthwise2d(backend, io_type):
312312
model.add(DepthwiseConv2D(kernel_size=(3, 3), input_shape=(32, 32, 3)))
313313
model.compile()
314314

315-
config = hls4ml.utils.config_from_keras_model(model, granularity='name')
315+
config = hls4ml.utils.config_from_keras_model(model, granularity='name', default_precision='fixed<32,12>')
316316
output_dir = str(test_root_path / f'hls4mlprj_keras_api_depthwiseconv2d_{backend}_{io_type}')
317317
hls_model = hls4ml.converters.convert_from_keras_model(
318318
model, hls_config=config, output_dir=output_dir, backend=backend, io_type=io_type

0 commit comments

Comments
 (0)