diff options
Diffstat (limited to 'arm_compute/runtime')
-rw-r--r-- | arm_compute/runtime/CL/functions/CLCropResize.h | 8 | ||||
-rw-r--r-- | arm_compute/runtime/NEON/functions/NEWinogradConvolutionLayer.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/arm_compute/runtime/CL/functions/CLCropResize.h b/arm_compute/runtime/CL/functions/CLCropResize.h index d6c9fed928..9ec2071a4f 100644 --- a/arm_compute/runtime/CL/functions/CLCropResize.h +++ b/arm_compute/runtime/CL/functions/CLCropResize.h @@ -105,10 +105,10 @@ public: InterpolationPolicy _method; float _extrapolation_value; - std::unique_ptr<CLScale[]> _scale; - std::unique_ptr<CLCopyKernel[]> _copy; - std::unique_ptr<CLTensor[]> _crop_results{ nullptr }; - std::unique_ptr<CLTensor[]> _scaled_results{ nullptr }; + std::vector<std::unique_ptr<CLScale>> _scale; + std::vector<std::unique_ptr<CLCopyKernel>> _copy; + std::vector<std::unique_ptr<CLTensor>> _crop_results; + std::vector<std::unique_ptr<CLTensor>> _scaled_results; }; } // namespace arm_compute #endif /* __ARM_COMPUTE_CL_CROP_RESIZE_H__ */ diff --git a/arm_compute/runtime/NEON/functions/NEWinogradConvolutionLayer.h b/arm_compute/runtime/NEON/functions/NEWinogradConvolutionLayer.h index ad37ba51ab..1ddbacf327 100644 --- a/arm_compute/runtime/NEON/functions/NEWinogradConvolutionLayer.h +++ b/arm_compute/runtime/NEON/functions/NEWinogradConvolutionLayer.h @@ -53,7 +53,7 @@ class NEWinogradConvolutionLayer : public IFunction { public: /** Constructor */ - NEWinogradConvolutionLayer(std::shared_ptr<IMemoryManager> memory_manager = nullptr); + NEWinogradConvolutionLayer(const std::shared_ptr<IMemoryManager> &memory_manager = nullptr); /** Set the input and output tensors. * |