aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/CL/functions/CLCropResize.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/runtime/CL/functions/CLCropResize.h')
-rw-r--r--arm_compute/runtime/CL/functions/CLCropResize.h8
1 files changed, 4 insertions, 4 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__ */