Skip to content

Commit 603947d

Browse files
committed
[CustomOp] Run linting
1 parent 55103d7 commit 603947d

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

src/finn/custom_op/fpgadataflow/hls/thresholding_hls.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,6 @@ def dataoutstrm(self):
546546
if dtype == DataType["BIPOLAR"]:
547547
# use binary for bipolar storage
548548
dtype = DataType["BINARY"]
549-
elem_bits = dtype.bitwidth()
550549
packed_bits = self.get_outstream_width()
551550
packed_hls_type = "ap_uint<%d>" % packed_bits
552551
elem_hls_type = dtype.get_hls_datatype_str()

src/finn/custom_op/fpgadataflow/hls/vectorvectoractivation_hls.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,6 @@ def dataoutstrm(self):
433433
if dtype == DataType["BIPOLAR"]:
434434
# use binary for bipolar storage
435435
dtype = DataType["BINARY"]
436-
elem_bits = dtype.bitwidth()
437436
packed_bits = self.get_outstream_width()
438437
packed_hls_type = "ap_uint<%d>" % packed_bits
439438
elem_hls_type = dtype.get_hls_datatype_str()

0 commit comments

Comments
 (0)