aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph
diff options
context:
space:
mode:
authorSiCong Li <sicong.li@arm.com>2020-08-09 20:05:52 +0100
committerSiCong Li <sicong.li@arm.com>2020-08-18 08:59:05 +0000
commite357a254a830bf4d66f235813fac021d61cf225d (patch)
tree29d2d0f836a3efb3bae11bf0a8e35237b8a0ffa7 /arm_compute/graph
parenta45abfd9ac805c8452c56172583dcf0dcf41f9db (diff)
downloadComputeLibrary-e357a254a830bf4d66f235813fac021d61cf225d.tar.gz
COMPMID-3454 Patch1: Relocate data_type_from_name to core/Utils
Change-Id: I33436dab77a47868fbd9872e0b4cf54b3a173e65 Signed-off-by: SiCong Li <sicong.li@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3694 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Manuel Bottini <manuel.bottini@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/graph')
-rw-r--r--arm_compute/graph/TypeLoader.h25
1 files changed, 1 insertions, 24 deletions
diff --git a/arm_compute/graph/TypeLoader.h b/arm_compute/graph/TypeLoader.h
index a53af40f77..286bfebeb5 100644
--- a/arm_compute/graph/TypeLoader.h
+++ b/arm_compute/graph/TypeLoader.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2019 Arm Limited.
+ * Copyright (c) 2018-2020 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -30,29 +30,6 @@
namespace arm_compute
{
-/** Converts a string to a strong types enumeration @ref DataType
- *
- * @param[in] name String to convert
- *
- * @return Converted DataType enumeration
- */
-arm_compute::DataType data_type_from_name(const std::string &name);
-
-/** Input Stream operator for @ref DataType
- *
- * @param[in] stream Stream to parse
- * @param[out] data_type Output data type
- *
- * @return Updated stream
- */
-inline ::std::istream &operator>>(::std::istream &stream, arm_compute::DataType &data_type)
-{
- std::string value;
- stream >> value;
- data_type = data_type_from_name(value);
- return stream;
-}
-
/** Converts a string to a strong types enumeration @ref DataLayout
*
* @param[in] name String to convert