diff options
Diffstat (limited to 'examples/graph_resnet12.cpp')
-rw-r--r-- | examples/graph_resnet12.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/graph_resnet12.cpp b/examples/graph_resnet12.cpp index badcaec107..ebd2e5dd16 100644 --- a/examples/graph_resnet12.cpp +++ b/examples/graph_resnet12.cpp @@ -81,7 +81,7 @@ public: const std::string model_path = "/cnn_data/resnet12_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); @@ -128,7 +128,7 @@ public: .set_name("conv12/convolution") << ActivationLayer(ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::TANH)).set_name("conv12/Tanh") << ActivationLayer(ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::LINEAR, 0.58f, 0.5f)).set_name("conv12/Linear") - << OutputLayer(arm_compute::support::cpp14::make_unique<DummyAccessor>(0)); + << OutputLayer(std::make_unique<DummyAccessor>(0)); // Finalize graph GraphConfig config; |