| @@ -134,22 +134,6 @@ map<string, Format> kFormatDict = { | |||||
| {"fractal_z_g", FORMAT_FRACTAL_Z_G} | {"fractal_z_g", FORMAT_FRACTAL_Z_G} | ||||
| }; | }; | ||||
| map<string, DataType> 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::string GenerateFileName(const SingleOpDesc &single_op_desc, int index) { | ||||
| std::stringstream file_name_ss; | std::stringstream file_name_ss; | ||||
| file_name_ss << index; | file_name_ss << index; | ||||