diff options
author | Pablo Tello <pablo.tello@arm.com> | 2018-11-15 14:43:10 +0000 |
---|---|---|
committer | Anthony Barbier <Anthony.barbier@arm.com> | 2018-11-19 09:58:20 +0000 |
commit | 32521430ad67172d372721979e8a32b7d4317620 (patch) | |
tree | c18921290341c1d730fbff406960dc7ea7f61306 /src/graph/backends/GLES | |
parent | d696cb6d18c2fe66f1abce88bbd14faf2137ef89 (diff) | |
download | ComputeLibrary-32521430ad67172d372721979e8a32b7d4317620.tar.gz |
COMPMID-1750: Add PriorBox operator to graph API.
Change-Id: I5d2ed5dcc342abff8124762f7bdee587cdf20032
Diffstat (limited to 'src/graph/backends/GLES')
-rw-r--r-- | src/graph/backends/GLES/GCFunctionsFactory.cpp | 21 | ||||
-rw-r--r-- | src/graph/backends/GLES/GCNodeValidator.cpp | 2 |
2 files changed, 16 insertions, 7 deletions
diff --git a/src/graph/backends/GLES/GCFunctionsFactory.cpp b/src/graph/backends/GLES/GCFunctionsFactory.cpp index 7df659e7b3..2ca453ebde 100644 --- a/src/graph/backends/GLES/GCFunctionsFactory.cpp +++ b/src/graph/backends/GLES/GCFunctionsFactory.cpp @@ -94,7 +94,8 @@ std::unique_ptr<IFunction> create_concatenate_layer<GCDepthConcatenateLayer, GCT func->configure(inputs, output); // Log info - ARM_COMPUTE_LOG_GRAPH_INFO("Instantiated " << node.type() + ARM_COMPUTE_LOG_GRAPH_INFO("Instantiated " + << node.name() << " Target " << GCTargetInfo::TargetType << " Data Type: " << output->info()->data_type() << " Shape: " << output->info()->tensor_shape() @@ -143,7 +144,9 @@ std::unique_ptr<IFunction> create_convolution_layer<GCConvolutionLayerFunctions, } // Log info - ARM_COMPUTE_LOG_GRAPH_INFO("Instantiated " << func_name + ARM_COMPUTE_LOG_GRAPH_INFO("Instantiated " + << node.name() + << " Type: " << func_name << " Data Type: " << input->info()->data_type() << " Input QuantInfo: " << input->info()->quantization_info() << " Weights QuantInfo: " << weights->info()->quantization_info() @@ -191,7 +194,9 @@ std::unique_ptr<IFunction> create_depthwise_convolution_layer<GCDepthwiseConvolu } // Log info - ARM_COMPUTE_LOG_GRAPH_INFO("Instantiated " << func_name + ARM_COMPUTE_LOG_GRAPH_INFO("Instantiated " + << node.name() + << " Type: " << func_name << " Target " << GCTargetInfo::TargetType << " Data Type: " << input->info()->data_type() << " Input QuantInfo: " << input->info()->quantization_info() @@ -246,11 +251,13 @@ std::unique_ptr<IFunction> create_eltwise_layer<GCEltwiseFunctions, GCTargetInfo } // Log info - ARM_COMPUTE_LOG_GRAPH_INFO("Instantiated " << node.type() - << " Target " << GCTargetInfo::TargetType - << " Operation " << func_name + ARM_COMPUTE_LOG_GRAPH_INFO("Instantiated " + << node.name() + << " Type: " << node.type() + << " Target: " << GCTargetInfo::TargetType + << " Operation: " << func_name << " Data Type: " << input1->info()->data_type() - << " Shape : " << input1->info()->tensor_shape() + << " Shape: " << input1->info()->tensor_shape() << std::endl); return func; diff --git a/src/graph/backends/GLES/GCNodeValidator.cpp b/src/graph/backends/GLES/GCNodeValidator.cpp index 9cf39c6675..fe69c7a9ee 100644 --- a/src/graph/backends/GLES/GCNodeValidator.cpp +++ b/src/graph/backends/GLES/GCNodeValidator.cpp @@ -121,6 +121,8 @@ Status GCNodeValidator::validate(INode *node) return ARM_COMPUTE_CREATE_ERROR(arm_compute::ErrorCode::RUNTIME_ERROR, "Unsupported operation : PadLayer"); case NodeType::PermuteLayer: return ARM_COMPUTE_CREATE_ERROR(arm_compute::ErrorCode::RUNTIME_ERROR, "Unsupported operation : PermuteLayer"); + case NodeType::PriorBoxLayer: + return ARM_COMPUTE_CREATE_ERROR(arm_compute::ErrorCode::RUNTIME_ERROR, "Unsupported operation : PriorBoxLayer"); case NodeType::ReorgLayer: return ARM_COMPUTE_CREATE_ERROR(arm_compute::ErrorCode::RUNTIME_ERROR, "Unsupported operation : ReorgLayer"); case NodeType::ReshapeLayer: |