Skip to content

Commit 84259c5

Browse files
Disable mobileV2 optimization (#1129)
1 parent 0bda5ba commit 84259c5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

NeoML/src/Dnn/DnnOptimization.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ CDnnOptimizationReport OptimizeDnnOnLoad(CDnn& dnn, size_t size)
5858
report.RemovedTrivialLayers = optimization::RemoveTrivialLayers(graph);
5959
optimization::CBatchNormFusionOptimizer(graph).Apply(report);
6060

61-
if (size < 1024 * 1024) {
62-
optimization::CMobileNetV2Optimizer(graph).Apply(report);
63-
61+
if (size < 1024 * 1024) {
6462
CArray<int> chains;
6563
OptimizeRowwiseChains(dnn, chains);
6664
report.RowwiseChainCount = chains.Size();

0 commit comments

Comments
 (0)