Skip to content

Commit

Permalink
[Concat] Remove instream width padded duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
auphelia committed Feb 19, 2025
1 parent 1cb5877 commit 20e0c2b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/finn/custom_op/fpgadataflow/concat.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

import numpy as np
from qonnx.core.datatype import DataType
from qonnx.util.basic import roundup_to_integer_multiple

from finn.custom_op.fpgadataflow.hwcustomop import HWCustomOp

Expand Down Expand Up @@ -134,10 +133,6 @@ def execute_node(self, context, graph):
result = np.concatenate(inp_values, axis=-1)
context[node.output[0]] = result

def get_instream_width_padded(self, ind=0):
in_width = self.get_instream_width(ind)
return roundup_to_integer_multiple(in_width, 8)

def get_verilog_top_module_intf_names(self):
intf_names = super().get_verilog_top_module_intf_names()
n_inputs = self.get_n_inputs()
Expand Down

0 comments on commit 20e0c2b

Please sign in to comment.