DelInputWithCond

Function Usage

Deletes an input edge of an operator based on the operator attribute.

Prototype

APIs taking string arguments will be deprecated in future releases. Use APIs taking non-string arguments instead.

1
2
OpRegistrationData &DelInputWithCond(int32_t inputIdx, const std::string &attrName, bool attrValue)
OpRegistrationData &DelInputWithCond(int32_t input_idx, const char_t *attr_name, bool attr_value)

Parameters

Parameter

Input/Output

Description

input_idx/inputIdx

Input

Index of the input edge to delete

attr_name/attrName

Input

Attribute name

attr_value/attrValue

Input

Attribute value

Constraints

None