!29281 fix random op bug

Merge pull request !29281 from caifubi/master-fix-randomop-bug
This commit is contained in:
i-robot 2022-01-19 07:08:36 +00:00 committed by Gitee
commit 778c0f0892
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ void GetSingleOpGraphInfo(const OpExecInfoPtr &op_exec_info, const std::vector<t
// Random effect operator
if (is_random_effect_op) {
buf << "_" << GetId(op_prim->GetPyObj());
buf << "_" << std::to_string(op_prim->id());
}
graph_info = buf.str();