OpRegistrationData构造函数和析构函数。
数据类型为string的接口后续版本会废弃,建议使用数据类型为非string的接口。
OpRegistrationData(const std::string& om_optype);
OpRegistrationData(const char *om_optype);
~OpRegistrationData()
参数名 |
输入/输出 |
描述 |
---|---|---|
om_optype |
输入 |
指定适配昇腾AI处理器的模型支持的算子类型。 |
OpRegistrationData构造函数返回OpRegistrationData类型的对象。
无。
无。