diff options
Diffstat (limited to 'examples/graph_srcnn955.cpp')
-rw-r--r-- | examples/graph_srcnn955.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/graph_srcnn955.cpp b/examples/graph_srcnn955.cpp index a95f0c1d25..bcc3824c60 100644 --- a/examples/graph_srcnn955.cpp +++ b/examples/graph_srcnn955.cpp @@ -78,7 +78,7 @@ public: const std::string model_path = "/cnn_data/srcnn955_model/"; // Create a preprocessor object - std::unique_ptr<IPreprocessor> preprocessor = arm_compute::support::cpp14::make_unique<TFPreproccessor>(); + std::unique_ptr<IPreprocessor> preprocessor = std::make_unique<TFPreproccessor>(); // Create input descriptor const TensorShape tensor_shape = permute_shape(TensorShape(image_width, image_height, 3U, 1U), DataLayout::NCHW, common_params.data_layout); @@ -111,7 +111,7 @@ public: PadStrideInfo(1, 1, 2, 2)) .set_name("conv3/convolution") << ActivationLayer(ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU)).set_name("conv3/Relu") - << OutputLayer(arm_compute::support::cpp14::make_unique<DummyAccessor>(0)); + << OutputLayer(std::make_unique<DummyAccessor>(0)); // Finalize graph GraphConfig config; |