OpRegistrationData Constructor and Destructor
Description
Constructs or destructs an object of class OpRegistrationData.
Prototype
APIs using strings will be deprecated in later versions. Use APIs supporting non-string data instead.
OpRegistrationData(const std::string &om_optype)
OpRegistrationData(const char_t *om_optype)
~OpRegistrationData()
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
om_optype |
Input |
Type of an operator adapted to Ascend AI Processor. |
Returns
The OpRegistrationData constructor returns an OpRegistrationData object.
Exception Handling
None
Restrictions
None
Parent topic: OpRegistrationData