AIModelManager::CreateOutputTensor
Creates a list of output tensors.

If you use this API to create tensors, the memory start address returned by this API must be 512-byte aligned. You are advised to use the AITensorFactory::CreateTensor interface to create a tensor. For details, see AITensorFactory::CreateTensor.
Syntax
virtual AIStatus AIModelManager::CreateOutputTensor(const std::vector<std::shared_ptr<IAITensor>> &in_data, std::vector<std::shared_ptr<IAITensor>> &out_data) override;
Parameter Description
Return Value
SUCCESS indicates that initialization succeeds, while FAILED indicates that initialization fails.
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