Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【Infer Symbolic Shape No.123】【BUAA】Add Bincount #67435

Merged
merged 21 commits into from
Aug 23, 2024

Conversation

Whsjrczr
Copy link
Contributor

PR Category

CINN

PR Types

Others

Description

修改了3个文件,增加了BincountOpInferSymbolicShape

Copy link

paddle-bot bot commented Aug 14, 2024

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@luotao1 luotao1 added contributor External developers HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 labels Aug 14, 2024
@Whsjrczr
Copy link
Contributor Author

引入新符号,请求豁免

symbol::DimExpr out_unknown =
infer_context->GetNextSymName(); // unknown until runtime

// Set the output shape, which is of unknown size (-1)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

删掉这个注释

@gongshaotian
Copy link
Contributor

需要在test/legacy_test/test_bincount_op.py 中关掉 check_symbol_infer flag。
image

@luotao1 luotao1 closed this Aug 23, 2024
@luotao1 luotao1 reopened this Aug 23, 2024
@luotao1 luotao1 merged commit a5a32e4 into PaddlePaddle:develop Aug 23, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants