目录

DelInputWithCond

Function Description

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

Function Prototype

APIs taking string arguments will be deprecated in future releases. Use APIs taking non-string arguments 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
inputIdx Input Index of the input edge to delete
attrName Input Attribute name.
attrValue Input Pointer to the value of the attribute.

Restrictions

None