Browse Source

add complex64 support, add data_type support and fix release error in aclgrphGenerateForOp

tags/v1.3.0
lichun 4 years ago
parent
commit
1486508c56
1 changed files with 0 additions and 16 deletions
  1. +0
    -16
      ge/offline/single_op_parser.cc

+ 0
- 16
ge/offline/single_op_parser.cc View File

@@ -134,22 +134,6 @@ map<string, Format> kFormatDict = {
{"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::stringstream file_name_ss;
file_name_ss << index;


Loading…
Cancel
Save