Skip to content

Conversation

@lecramdev
Copy link

No description provided.

@auphelia
Copy link
Collaborator

Hi @lecramdev,
Thank you for the PR!
Could you please sign-off your commit? To be compliant with our contribution guidelines: https://github.com/Xilinx/finn/blob/main/CONTRIBUTING.md
It should be possible to sign-off already pushed commits.

@pytest.mark.parametrize("quant", [Int8ActPerTensorFloat, Uint8ActPerTensorFloat])
def test_brevitas_quant_identity_export(abits, ishape, narrow, quant):
export_path = f"test_brevitas_quant_identity_export_{abits}_{narrow}_{quant}.onnx"
b_act = QuantIdentity(act_quant=quant, bit_width=abits, narrow=narrow)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please change narrow=narrow to narrow_range=narrow? We don't get an error for this because the object can take additional kwargs but it will not be correctly derived and so narrow doesn't get varied in the resulting QuantNode for this test case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants