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>
diff --git a/arm_compute/graph/TypePrinter.h b/arm_compute/graph/TypePrinter.h
index c3601f2..7c0bd8c 100644
--- a/arm_compute/graph/TypePrinter.h
+++ b/arm_compute/graph/TypePrinter.h
@@ -71,15 +71,15 @@
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 @@
{
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 @@
{
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 @@
{
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 @@
{
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!");