diff options
Diffstat (limited to 'src/runtime/NEON/functions/NEDepthwiseSeparableConvolutionLayer.cpp')
-rw-r--r-- | src/runtime/NEON/functions/NEDepthwiseSeparableConvolutionLayer.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/runtime/NEON/functions/NEDepthwiseSeparableConvolutionLayer.cpp b/src/runtime/NEON/functions/NEDepthwiseSeparableConvolutionLayer.cpp index d70a6689ac..da2e49c730 100644 --- a/src/runtime/NEON/functions/NEDepthwiseSeparableConvolutionLayer.cpp +++ b/src/runtime/NEON/functions/NEDepthwiseSeparableConvolutionLayer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -45,6 +45,14 @@ void NEDepthwiseSeparableConvolutionLayer::configure(ITensor *input, const ITens void NEDepthwiseSeparableConvolutionLayer::run() { + prepare(); + _depthwise_conv.run(); _pointwise_conv.run(); +} + +void NEDepthwiseSeparableConvolutionLayer::prepare() +{ + _depthwise_conv.prepare(); + _pointwise_conv.prepare(); }
\ No newline at end of file |