OriginOpType

Description

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

Prototype

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

1
2
3
4
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.