Skip to content

Commit f1c7225

Browse files
committed
remove precision settings that make pytest for batchnorm in pytorch fail
1 parent 63acf34 commit f1c7225

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/pytest/test_batchnorm_pytorch.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,6 @@ def test_batchnorm_fusion(fusion_data, backend, io_type):
100100

101101
config['Model']['Strategy'] = 'Resource'
102102

103-
default_precision = 'ac_fixed<32, 1, true>' if backend == 'Quartus' else 'ac_fixed<32, 1>'
104-
105-
config['Model']['Precision'] = default_precision
106-
107103
# conversion
108104
output_dir = str(test_root_path / f'hls4mlprj_block_{backend}_{io_type}')
109105
hls_model = hls4ml.converters.convert_from_pytorch_model(

0 commit comments

Comments
 (0)