aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph/TypePrinter.h
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2018-07-20 13:23:44 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:54:54 +0000
commite2220551b7a64b929650ba9a60529c31e70c13c5 (patch)
tree5d609887f15b4392cdade7bb388710ceafc62260 /arm_compute/graph/TypePrinter.h
parenteff8d95991205e874091576e2d225f63246dd0bb (diff)
downloadComputeLibrary-e2220551b7a64b929650ba9a60529c31e70c13c5.tar.gz
COMPMID-1367: Enable NHWC in graph examples
Change-Id: Iabc54a3a1bdcd46a9a921cda39c7c85fef672b72 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/141449 Reviewed-by: Giorgio Arena <giorgio.arena@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/graph/TypePrinter.h')
-rw-r--r--arm_compute/graph/TypePrinter.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/arm_compute/graph/TypePrinter.h b/arm_compute/graph/TypePrinter.h
index c3601f2373..7c0bd8cfdd 100644
--- a/arm_compute/graph/TypePrinter.h
+++ b/arm_compute/graph/TypePrinter.h
@@ -71,15 +71,15 @@ inline ::std::ostream &operator<<(::std::ostream &os, const NodeType &node_type)
case NodeType::ChannelShuffleLayer:
os << "ChannelShuffleLayer";
break;
+ case NodeType::ConcatenateLayer:
+ os << "ConcatenateLayer";
+ break;
case NodeType::ConvolutionLayer:
os << "ConvolutionLayer";
break;
case NodeType::DeconvolutionLayer:
os << "DeconvolutionLayer";
break;
- case NodeType::DepthConcatenateLayer:
- os << "DepthConcatenateLayer";
- break;
case NodeType::DepthwiseConvolutionLayer:
os << "DepthwiseConvolutionLayer";
break;
@@ -134,14 +134,14 @@ inline ::std::ostream &operator<<(::std::ostream &os, const EltwiseOperation &el
{
switch(eltwise_op)
{
- case EltwiseOperation::ADD:
- os << "ADD";
+ case EltwiseOperation::Add:
+ os << "Add";
break;
- case EltwiseOperation::MUL:
- os << "MUL";
+ case EltwiseOperation::Mul:
+ os << "Mul";
break;
- case EltwiseOperation::SUB:
- os << "SUB";
+ case EltwiseOperation::Sub:
+ os << "Sub";
break;
default:
ARM_COMPUTE_ERROR("NOT_SUPPORTED!");
@@ -155,17 +155,17 @@ inline ::std::ostream &operator<<(::std::ostream &os, const ConvolutionMethod &m
{
switch(method)
{
- case ConvolutionMethod::DEFAULT:
- os << "DEFAULT";
+ case ConvolutionMethod::Default:
+ os << "Default";
break;
- case ConvolutionMethod::DIRECT:
- os << "DIRECT";
+ case ConvolutionMethod::Direct:
+ os << "Direct";
break;
case ConvolutionMethod::GEMM:
os << "GEMM";
break;
- case ConvolutionMethod::WINOGRAD:
- os << "WINOGRAD";
+ case ConvolutionMethod::Winograd:
+ os << "Winograd";
break;
default:
ARM_COMPUTE_ERROR("NOT_SUPPORTED!");
@@ -179,11 +179,11 @@ inline ::std::ostream &operator<<(::std::ostream &os, const FastMathHint &hint)
{
switch(hint)
{
- case FastMathHint::ENABLED:
- os << "ENABLED";
+ case FastMathHint::Enabled:
+ os << "Enabled";
break;
- case FastMathHint::DISABLED:
- os << "DISABLED";
+ case FastMathHint::Disabled:
+ os << "Disabled";
break;
default:
ARM_COMPUTE_ERROR("NOT_SUPPORTED!");
@@ -197,14 +197,14 @@ inline ::std::ostream &operator<<(::std::ostream &os, const DepthwiseConvolution
{
switch(method)
{
- case DepthwiseConvolutionMethod::DEFAULT:
+ case DepthwiseConvolutionMethod::Default:
os << "DEFAULT";
break;
case DepthwiseConvolutionMethod::GEMV:
os << "GEMV";
break;
- case DepthwiseConvolutionMethod::OPTIMIZED_3x3:
- os << "OPTIMIZED_3x3";
+ case DepthwiseConvolutionMethod::Optimized3x3:
+ os << "Optimized3x3";
break;
default:
ARM_COMPUTE_ERROR("NOT_SUPPORTED!");