NullableOutputs

Function

Marks the outputs of an operator that can be null.

Function Prototype

 OpImplRegisterV2 &NullableOutputs(std::initializer_list<int32_t> outputs)

Parameters

ParameterInput/OutputDescription
outputsInputSpecifies the list of output indexes. For example, outputs={0, 3} indicates that the 0th and 3rd outputs of the operator can be null.

Return Value

Returns the OpImplRegisterV2 object of the operator, which newly registers the NullableOutput function.