Skip to content

Conversation

@jim19930609
Copy link
Contributor

PR types

New features

PR changes

Others

Describe

Operator developers may mark an input tensor as "optional", where Tensor-typed input will be generated as "paddle::optional" and Vector-typed input will be generated as is.

At runtime, if any "NULL" input were detected at Python-C level, we will either pass through an uninitialized "paddle::optional" object or an empty vector, depending on the input type.

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@jim19930609 jim19930609 force-pushed the eager_final_dispensable branch from 40ec920 to 383b27f Compare February 21, 2022 02:57
@jim19930609 jim19930609 merged commit ca11a0e into PaddlePaddle:develop Feb 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants