DelInputWithCond

Description

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

Prototype

APIs using strings will be deprecated in later versions. Use APIs supporting non-string data instead.

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 be deleted.

attr_name/attrName

Input

Attribute name.

attr_value/attrValue

Input

Attribute value

Restrictions

None