NullableOutputs

Function Usage

Marks the outputs of an operator that can be null (optional outputs).

Prototype

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

Parameters

Parameter

Input/Output

Description

outputs

Input

List of output indexes. For example, outputs={0, 3} indicates that output 0 and output 3 of the operator can be null.

Returns

OpImplRegisterV2 object of the operator, where the NullableOutput function is registered.