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
3beea64841
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/offline/single_op_parser.cc

+ 1
- 1
ge/offline/single_op_parser.cc View File

@@ -205,7 +205,7 @@ void SetAttrValue(const Json &j, SingleOpAttr &attr) {
// 2. value: 1, 3 ...
if (j.at(kKeyType).get<string>() == "data_type" && AttrValueIsString(j, kKeyValue)) {
string type_str = j.at(kKeyValue).get<string>();
DataType dtype = GetValue(kDataTypeStringToEnum, type_str, DT_UNDEFINED);
DataType dtype = TypeUtils::SerialStringToDataType(type_str);
attr.value.SetValue<DataType>(dtype);
return;
}


Loading…
Cancel
Save