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

[SetFolding] work with 1D SWG too

parent c67ecec4
No related branches found
No related tags found
No related merge requests found
......@@ -150,7 +150,7 @@ class SetFolding(Transformation):
# also set the folding of the upsteam DW SWU
# which must be identical to this node
swu_node = model.find_producer(node.input[0])
if swu_node.op_type == "ConvolutionInputGenerator":
if swu_node.op_type.startswith("ConvolutionInputGenerator"):
swu_node_inst = getCustomOp(swu_node)
pe = node_inst.get_nodeattr("PE")
swu_node_inst.set_nodeattr("SIMD", pe)
......
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