OriginOpType
Description
Sets the operator type or list of operator types of the original model.
Prototype
APIs using strings will be deprecated in later versions. Use APIs supporting non-string data instead.
OpRegistrationData &OriginOpType(const std::vector<ge::AscendString> &ori_op_type_list)
OpRegistrationData &OriginOpType(const char_t *ori_op_type)
OpRegistrationData &OriginOpType(const std::initializer_list<std::string> &ori_optype_list)
OpRegistrationData &OriginOpType(const std::string &ori_optype)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
ori_op_type_list/ori_optype_list |
Input |
List of operator types of the original model. |
ori_op_type/ori_optype |
Input |
Operator type of the original model. |
Parent topic: OpRegistrationData