From e2220551b7a64b929650ba9a60529c31e70c13c5 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Fri, 20 Jul 2018 13:23:44 +0100 Subject: COMPMID-1367: Enable NHWC in graph examples Change-Id: Iabc54a3a1bdcd46a9a921cda39c7c85fef672b72 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/141449 Reviewed-by: Giorgio Arena Reviewed-by: Anthony Barbier Tested-by: Jenkins --- arm_compute/graph/TypePrinter.h | 44 ++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'arm_compute/graph/TypePrinter.h') 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!"); -- cgit v1.2.1