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

numpy输入缺少shape检查 #560

Closed
MRXLT opened this issue May 14, 2020 · 1 comment
Closed

numpy输入缺少shape检查 #560

MRXLT opened this issue May 14, 2020 · 1 comment

Comments

@MRXLT
Copy link
Contributor

MRXLT commented May 14, 2020

numpy输入的shape与模型预期不一致会导致server挂掉,可以在client完成检查

@guru4elephant
Copy link
Member

可以做弱检查,比如检查dim是否与配置文件一致,但-1维度的shape不应该检查

@paddle-bot paddle-bot bot closed this as completed Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants