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;