diff options
Diffstat (limited to 'src/graph/mutators/NodeFusionMutator.cpp')
-rw-r--r-- | src/graph/mutators/NodeFusionMutator.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/graph/mutators/NodeFusionMutator.cpp b/src/graph/mutators/NodeFusionMutator.cpp index 4c3a905598..61d9479fca 100644 --- a/src/graph/mutators/NodeFusionMutator.cpp +++ b/src/graph/mutators/NodeFusionMutator.cpp @@ -318,8 +318,7 @@ void NodeFusionMutator::mutate(Graph &g) // Currently fuse batch normalization brings performance uplift only on OpenCL with FP32 data type // TODO (COMPMID-2524): Fuse batch normalization with convolution and depthwise convolution at graph level for NEON - FP32 - // TODO (COMPMID-2581): Fuse batch normalization with convolution and depthwise convolution at graph level for OpenCL - FP16 - if(target == Target::CL && (g.nodes()[0].get()->output(0)->desc().data_type == DataType::F32)) + if(target == Target::CL) { //Depthwise Convolution and Batch Normalization Fusion active only for CL detail::fuse_layer<ConvolutionLayerNode, BatchNormalizationLayerNode>(g, empty_prec, detail::fuse_convolution_with_batch_normalization); |