目录

OriginOpType

Function Description

Sets the operator type or list of operator types of the original model.

Function Prototype

APIs taking string arguments will be deprecated in future releases. Use APIs taking non-string arguments 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.