Skip to content

Commit fc287ba

Browse files
authored
Merge pull request #1053 from JanFSchulte/testFix
remove precision settings that make pytest for batchnorm in pytorch fail
2 parents 63acf34 + f1c7225 commit fc287ba

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)