AIModelManager::CreateInputTensor
Creates a list of input 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::CreateInputTensor(std::vector<std::shared_ptr<IAITensor>> &in_data);
Parameter Description
Parameter |
Description |
Value Range |
---|---|---|
in_data |
List of input tensors For details about the syntax of the IAITensor data type, see IAITensor. |
- |
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