TryGetInputDesc
Function Prototype
bool TryGetInputDesc(const string& name, TensorDesc& tensorDesc) const;
Function Description
Obtains the input TensorDesc of an operator based on its input name.
Parameter Description
Parameter |
Input/Output |
Type |
Description |
---|---|---|---|
name |
Input |
const string& |
Input Name |
tensorDesc |
Output |
TensorDesc& |
TensorDesc object |
Return Value
Parameter |
Type |
Description |
---|---|---|
- |
bool |
If the TensorDesc is obtained successfully, true is returned. Otherwise, false is returned. |
Exception Handling
None
Restriction
None
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