Skip to content

Conversation

@xingmingyyj
Copy link
Contributor

@xingmingyyj xingmingyyj commented Nov 1, 2023

PR types

Others

PR changes

Others

Description

修复seed_op
旧Ir下定义的GetExpectedKernelType

  phi::KernelKey GetExpectedKernelType(
      const framework::ExecutionContext& ctx) const override {
    return phi::KernelKey(framework::proto::VarType::INT32, ctx.GetPlace());
  }

在新Ir下也改为INT32类型
因为seed op的Out具有随机性所以加入test/white_list/new_ir_op_test_no_check_list

@paddle-bot paddle-bot bot added the contributor External developers label Nov 1, 2023
@kangguangli kangguangli merged commit 8488ccb into PaddlePaddle:develop Nov 2, 2023
@xingmingyyj xingmingyyj deleted the fix_seed_op branch November 2, 2023 03:54
zeroRains pushed a commit to zeroRains/Paddle that referenced this pull request Nov 8, 2023
* fix_seed_op

* fix_seed_op
danleifeng pushed a commit to danleifeng/Paddle that referenced this pull request Nov 14, 2023
* fix_seed_op

* fix_seed_op
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants