From 1486508c5672212734a493d04cdcc3deb7f5746f Mon Sep 17 00:00:00 2001 From: lichun Date: Tue, 8 Jun 2021 15:17:01 +0800 Subject: [PATCH] add complex64 support, add data_type support and fix release error in aclgrphGenerateForOp --- ge/offline/single_op_parser.cc | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/ge/offline/single_op_parser.cc b/ge/offline/single_op_parser.cc index 2697d96b..5a8ca923 100644 --- a/ge/offline/single_op_parser.cc +++ b/ge/offline/single_op_parser.cc @@ -134,22 +134,6 @@ map kFormatDict = { {"fractal_z_g", FORMAT_FRACTAL_Z_G} }; -map kDataTypeStringToEnum = { - {"DT_BOOL", DT_BOOL}, - {"DT_INT8", DT_INT8}, - {"DT_UINT8", DT_UINT8}, - {"DT_INT16", DT_INT16}, - {"DT_UINT16", DT_UINT16}, - {"DT_INT32", DT_INT32}, - {"DT_UINT32", DT_UINT32}, - {"DT_INT64", DT_INT64}, - {"DT_UINT64", DT_UINT64}, - {"DT_FLOAT16", DT_FLOAT16}, - {"DT_FLOAT", DT_FLOAT}, - {"DT_DOUBLE", DT_DOUBLE}, - {"DT_COMPLEX64", DT_COMPLEX64} -}; - std::string GenerateFileName(const SingleOpDesc &single_op_desc, int index) { std::stringstream file_name_ss; file_name_ss << index;