forked from mindspore-Ecosystem/mindspore
!29281 fix random op bug
Merge pull request !29281 from caifubi/master-fix-randomop-bug
This commit is contained in:
commit
778c0f0892
|
@ -413,7 +413,7 @@ void GetSingleOpGraphInfo(const OpExecInfoPtr &op_exec_info, const std::vector<t
|
||||||
|
|
||||||
// Random effect operator
|
// Random effect operator
|
||||||
if (is_random_effect_op) {
|
if (is_random_effect_op) {
|
||||||
buf << "_" << GetId(op_prim->GetPyObj());
|
buf << "_" << std::to_string(op_prim->id());
|
||||||
}
|
}
|
||||||
|
|
||||||
graph_info = buf.str();
|
graph_info = buf.str();
|
||||||
|
|
Loading…
Reference in New Issue