GetFormats
Function
Queries the input and output data types supported by the op_type operator.
Syntax
void GetFormats(const std::string& op_type, std::vector<domi::tagDomiTensorFormat>& input_format_vector,std::vector<domi::tagDomiTensorFormat>& output_format_vector);
Parameter Description
Parameter |
Input/Output |
Description |
---|---|---|
op_type |
Input |
Name of an operator type |
input_format_vector |
Output |
Supported input data types |
output_format_vector |
Output |
Supported output data types |
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