diff options
author | Manuel Bottini <manuel.bottini@arm.com> | 2019-07-24 15:42:31 +0100 |
---|---|---|
committer | Gian Marco Iodice <gianmarco.iodice@arm.com> | 2019-08-01 14:24:33 +0000 |
commit | 169cda3793ce4900b2bf103739f04bb83b1b6aae (patch) | |
tree | 92912a5ba91aa15b00b195dbc6b05e5610d4ec77 /src/graph | |
parent | 6d7840205e5b17d845728f83376b7df7b12d6fd7 (diff) | |
download | ComputeLibrary-169cda3793ce4900b2bf103739f04bb83b1b6aae.tar.gz |
COMPMID-2055: Fusion of ConvolutionLayer with BatchNormalization at graph only for CL
Change-Id: Ibdd0c56c1f59205dcaf15ca504b6e9c7fb30f34a
Signed-off-by: Manuel Bottini <manuel.bottini@arm.com>
Reviewed-on: https://review.mlplatform.org/c/1618
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Comments-Addressed: Gian Marco Iodice <gianmarco.iodice@arm.com>
Diffstat (limited to 'src/graph')
-rw-r--r-- | src/graph/mutators/NodeFusionMutator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graph/mutators/NodeFusionMutator.cpp b/src/graph/mutators/NodeFusionMutator.cpp index 83177a8431..9e963091e6 100644 --- a/src/graph/mutators/NodeFusionMutator.cpp +++ b/src/graph/mutators/NodeFusionMutator.cpp @@ -307,11 +307,11 @@ void NodeFusionMutator::mutate(Graph &g) detail::fuse_layer<ConvolutionLayerNode, ActivationLayerNode>(g, empty_prec, detail::fuse_node_with_activation<ConvolutionLayerNode>, supported_fused_activations); detail::fuse_layer<DepthwiseConvolutionLayerNode, ActivationLayerNode>(g, qs8_prec, detail::fuse_node_with_activation<DepthwiseConvolutionLayerNode>, supported_fused_activations); - // TODO (COMPMID-2055): re-enable once we fuse bias and activations to convolution - // detail::fuse_layer<ConvolutionLayerNode, BatchNormalizationLayerNode>(g, empty_prec, detail::fuse_convolution_with_batch_normalization); + // TODO (COMPMID-2524): Fuse batch normalization with convolution and depthwise convolution at graph level for NEON 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); detail::fuse_layer<DepthwiseConvolutionLayerNode, BatchNormalizationLayerNode>(g, empty_prec, detail::fuse_depthwise_convolution_with_batch_normalization); } } |