ParseParamsFn
Function
Parses parameters.
Syntax
OpRegistrationData& ParseParamsFn(ParseParamFunc parseParamFn);
Parameter Description
Parameter |
Input/Output |
Description |
---|---|---|
parseParamFn |
Input |
Callback function ParseParamFunc. For details, see Callback Function ParseParamFunc. |
Callback Function ParseParamFunc
You can customize and implement the ParseParamFunc class functions to convert the parameters and weights of the Caffe model and fill the results in the Operator class.
Syntax
Status ParseParamFunc(const Message* op_origin, ge::Operator& op_dest);
Parameter Description
Parameter |
Input/Output |
Description |
---|---|---|
op_origin |
Input |
Data structure in protobuf format (from the prototxt file of the Caffe model), including operator parameter information |
op_dest |
Output |
Operator data structure of offline model supported by the Ascend AI processor, which stores operator information For details about the operator class, see Operator Class APIs in GE API Reference. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot