diff options
Diffstat (limited to 'arm_compute/graph/TypePrinter.h')
-rw-r--r-- | arm_compute/graph/TypePrinter.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/arm_compute/graph/TypePrinter.h b/arm_compute/graph/TypePrinter.h index 3f529a9814..5e83820ab3 100644 --- a/arm_compute/graph/TypePrinter.h +++ b/arm_compute/graph/TypePrinter.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2021 Arm Limited. + * Copyright (c) 2018-2021, 2023 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef ARM_COMPUTE_GRAPH_TYPE_PRINTER_H -#define ARM_COMPUTE_GRAPH_TYPE_PRINTER_H +#ifndef ACL_ARM_COMPUTE_GRAPH_TYPEPRINTER_H +#define ACL_ARM_COMPUTE_GRAPH_TYPEPRINTER_H #include "arm_compute/core/Error.h" #include "arm_compute/core/Types.h" @@ -37,7 +37,7 @@ namespace graph /** Formatted output of the Target. */ inline ::std::ostream &operator<<(::std::ostream &os, const Target &target) { - switch(target) + switch (target) { case Target::UNSPECIFIED: os << "UNSPECIFIED"; @@ -48,8 +48,8 @@ inline ::std::ostream &operator<<(::std::ostream &os, const Target &target) case Target::CL: os << "CL"; break; - case Target::GC: - os << "GC"; + case Target::CLVK: + os << "CLVK"; break; default: ARM_COMPUTE_ERROR("NOT_SUPPORTED!"); @@ -60,7 +60,7 @@ inline ::std::ostream &operator<<(::std::ostream &os, const Target &target) inline ::std::ostream &operator<<(::std::ostream &os, const NodeType &node_type) { - switch(node_type) + switch (node_type) { case NodeType::ActivationLayer: os << "ActivationLayer"; @@ -207,7 +207,7 @@ inline ::std::ostream &operator<<(::std::ostream &os, const NodeType &node_type) /** Formatted output of the EltwiseOperation type. */ inline ::std::ostream &operator<<(::std::ostream &os, const EltwiseOperation &eltwise_op) { - switch(eltwise_op) + switch (eltwise_op) { case EltwiseOperation::Add: os << "Add"; @@ -231,7 +231,7 @@ inline ::std::ostream &operator<<(::std::ostream &os, const EltwiseOperation &el /** Formatted output of the ConvolutionMethod type. */ inline ::std::ostream &operator<<(::std::ostream &os, const ConvolutionMethod &method) { - switch(method) + switch (method) { case ConvolutionMethod::Default: os << "Default"; @@ -255,7 +255,7 @@ inline ::std::ostream &operator<<(::std::ostream &os, const ConvolutionMethod &m /** Formatted output of the FastMathHint type. */ inline ::std::ostream &operator<<(::std::ostream &os, const FastMathHint &hint) { - switch(hint) + switch (hint) { case FastMathHint::Enabled: os << "Enabled"; @@ -273,7 +273,7 @@ inline ::std::ostream &operator<<(::std::ostream &os, const FastMathHint &hint) /** Formatted output of the DepthwiseConvolutionMethod type. */ inline ::std::ostream &operator<<(::std::ostream &os, const DepthwiseConvolutionMethod &method) { - switch(method) + switch (method) { case DepthwiseConvolutionMethod::Default: os << "DEFAULT"; @@ -289,4 +289,4 @@ inline ::std::ostream &operator<<(::std::ostream &os, const DepthwiseConvolution } } // namespace graph } // namespace arm_compute -#endif /* ARM_COMPUTE_GRAPH_TYPE_PRINTER_H */ +#endif // ACL_ARM_COMPUTE_GRAPH_TYPEPRINTER_H |