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

[Transform] call InferDataType after AbsorbTransposeIntoMultiT

parent d2b2f7aa
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,7 @@ from finn.core.datatype import DataType
from finn.transformation import Transformation
from finn.util.basic import get_by_name
from finn.custom_op.registry import getCustomOp
from finn.transformation.infer_datatypes import InferDataTypes
class AbsorbAddIntoMultiThreshold(Transformation):
......@@ -278,4 +279,6 @@ class AbsorbTransposeIntoMultiThreshold(Transformation):
model.set_tensor_shape(mt_cand.output[0], mt_ishape)
graph.node.remove(n)
graph_modified = True
if graph_modified:
model = model.transform(InferDataTypes())
return (model, graph_modified)
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