From 7485d5a62685cb745ab50e970adb722cb71557ac Mon Sep 17 00:00:00 2001 From: Vidhya Sudhan Loganathan Date: Wed, 4 Jul 2018 09:34:00 +0100 Subject: COMPMID-970 : Remove QS8 / QS16 support Removed fixed point related code. Change-Id: I487acf138dace3b0450e0d72ca7071eaec254566 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/137678 Tested-by: Jenkins Reviewed-by: Anthony Barbier --- utils/TypePrinter.h | 55 +---------------------------------------------------- 1 file changed, 1 insertion(+), 54 deletions(-) (limited to 'utils') diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h index 2bd30d53f8..49c07938bd 100644 --- a/utils/TypePrinter.h +++ b/utils/TypePrinter.h @@ -249,58 +249,6 @@ inline std::string to_string(const QuantizationInfo &quantization_info) return str.str(); } -/** Formatted output of the FixedPointOp type. - * - * @param[out] os Output stream. - * @param[in] op Type to output. - * - * @return Modified output stream. - */ -inline ::std::ostream &operator<<(::std::ostream &os, const FixedPointOp &op) -{ - switch(op) - { - case FixedPointOp::ADD: - os << "ADD"; - break; - case FixedPointOp::SUB: - os << "SUB"; - break; - case FixedPointOp::MUL: - os << "MUL"; - break; - case FixedPointOp::EXP: - os << "EXP"; - break; - case FixedPointOp::LOG: - os << "LOG"; - break; - case FixedPointOp::INV_SQRT: - os << "INV_SQRT"; - break; - case FixedPointOp::RECIPROCAL: - os << "RECIPROCAL"; - break; - default: - ARM_COMPUTE_ERROR("NOT_SUPPORTED!"); - } - - return os; -} - -/** Formatted output of the FixedPointOp type. - * - * @param[in] op Type to output. - * - * @return Formatted string. - */ -inline std::string to_string(const FixedPointOp &op) -{ - std::stringstream str; - str << op; - return str.str(); -} - /** Formatted output of the activation function type. * * @param[out] os Output stream. @@ -856,8 +804,7 @@ inline std::string to_string(const TensorInfo &info) std::stringstream str; str << "{Shape=" << info.tensor_shape() << "," << "Type=" << info.data_type() << "," - << "Channels=" << info.num_channels() << "," - << "FixedPointPos=" << info.fixed_point_position() << "}"; + << "Channels=" << info.num_channels() << "}"; return str.str(); } -- cgit v1.2.1