Skip to content
Snippets Groups Projects
Unverified Commit 9703c641 authored by Yaman Umuroglu's avatar Yaman Umuroglu Committed by GitHub
Browse files

[LabelSel] assert for signedness

LabelSelect is currently broken for signed inputs
will open issue separately
parent 0cefc9ed
No related branches found
No related tags found
No related merge requests found
......@@ -149,7 +149,9 @@ class LabelSelect_Batch(HLSCustomOp):
def get_input_datatype(self):
"""Returns FINN DataType of input."""
return DataType[self.get_nodeattr("inputDataType")]
ret = DataType[self.get_nodeattr("inputDataType")]
assert ret.signed() is False, "LabelSelect is currently broken for signed inputs"
return ret
def get_output_datatype(self):
"""Returns FINN DataType of output."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment