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

ValueError: (InvalidArgument) Custom operator's 0-th output is not initialized. Please check your implementation again. If you are using inplace optional output, then you must use paddle::Optional to decorate this output (at ../paddle/fluid/pybind/eager_functions.cc:662) #406

Open
Wang0203 opened this issue Aug 15, 2023 · 1 comment
Assignees

Comments

@Wang0203
Copy link

image
请问这是什么问题,算子有问题吗?

@Birdylx
Copy link
Collaborator

Birdylx commented Jan 18, 2024

@Wang0203 从报错信息来看是的,自定义算子的输出没有初始化,可以检查下对应的python api的输入输出是否正确。

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