Skip to content
Snippets Groups Projects
Commit 9375e30d authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[FIFO] simplifying idt retrival after refactor

parent 3f2d6d97
No related branches found
No related tags found
No related merge requests found
...@@ -203,12 +203,8 @@ class InsertFIFO(Transformation): ...@@ -203,12 +203,8 @@ class InsertFIFO(Transformation):
n_input = first_node.input[inp_ind] n_input = first_node.input[inp_ind]
n0 = getCustomOp(first_node) n0 = getCustomOp(first_node)
# determine fifo node attributes # determine fifo node attributes
if inp_ind == 0: fld_shape = n0.get_folded_input_shape(inp_ind)
fld_shape = n0.get_folded_input_shape() dtype = n0.get_input_datatype(inp_ind)
dtype = n0.get_input_datatype()
else:
fld_shape = n0.get_folded_input_shape(inp_ind)
dtype = n0.get_input_datatype(inp_ind)
fifo_depth = n0.get_nodeattr("inFIFODepths")[inp_ind] fifo_depth = n0.get_nodeattr("inFIFODepths")[inp_ind]
if fifo_depth <= 2: if fifo_depth <= 2:
......
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