Skip to content

Commit 89aa9e8

Browse files
robert-kalmarStrycekSimon
authored andcommitted
NXP backend: Decrease min-num-ops-per-graph to revert the original Neutron Converter functionality.
1 parent 425b918 commit 89aa9e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backends/nxp/backend/neutron_converter_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def convert(
5050

5151
cctx = neutron_converter.CompilationContext()
5252
cctx.targetOpts = neutron_converter.getNeutronTarget(target)
53+
cctx.compilationOpts.minNumOpsPerGraph = 1
5354
model_converted = neutron_converter.convertModel(list(tflite_model), cctx)
5455

5556
return bytes(model_converted)

0 commit comments

Comments
 (0)