Browse Source

export null ref_key_value

tags/v1.6.0
lanzhineng 4 years ago
parent
commit
528c55070c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mindspore/ccsrc/transform/express_ir/mindir_exporter.cc

+ 2
- 2
mindspore/ccsrc/transform/express_ir/mindir_exporter.cc View File

@@ -424,8 +424,8 @@ bool IrExportBuilder::SetTensorProtoForRef(const TypePtr &type, const AbstractBa
}
auto ref_key_value = abs_ref->ref_key_value();
if (ref_key_value == nullptr) {
MS_LOG(ERROR) << "The ref_key_value of abstract ref " << abs->ToString() << " is nullptr";
return false;
MS_LOG(INFO) << "The ref_key_value of abstract ref " << abs->ToString() << " is nullptr";
return true;
}
tensor_proto->set_ref_key(ref_key_value->name());
return true;


Loading…
Cancel
Save