Skip to content

Commit

Permalink
update pytest to new default setting
Browse files Browse the repository at this point in the history
  • Loading branch information
JanFSchulte committed Jan 7, 2025
1 parent 9d8edbc commit 31219e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/pytest/test_pytorch_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ def test_pooling(pooling, padds, backend):
model.eval()
pytorch_prediction = model(torch.Tensor(X_input)).detach().numpy()

config = config_from_pytorch_model(model, input_shape_forHLS)
config = config_from_pytorch_model(model, input_shape_forHLS, transpose_outputs=True)
output_dir = str(test_root_path / f'hls4mlprj_pytorch_api_pooling_{pooling.__name__}_padds_{padds}_backend_{backend}')
hls_model = convert_from_pytorch_model(model, hls_config=config, output_dir=output_dir, backend=backend)
hls_model.compile()
Expand Down

0 comments on commit 31219e3

Please sign in to comment.