Skip to content
Snippets Groups Projects
Commit 883863e8 authored by auphelia's avatar auphelia
Browse files

[Transform] Add QuantAvgPool to infer datalayout trafo

parent f525398c
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ def _dims_to_layout(model, node, ndims):
return DataLayout.NC
else:
if node.domain == "finn":
if node.op_type == "MultiThreshold":
if node.op_type == "MultiThreshold" or node.op_type == "QuantAvgPool2d":
mt_inst = registry.getCustomOp(node)
layout = mt_inst.get_nodeattr("data_layout")
if layout == "NHWC" and ndims == 4:
......
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