GetOutputDesc
Applicability
|
Product |
Supported or Not |
|---|---|
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
Header File/Library File
- Header file: #include <graph/operator.h>
- Library file: libgraph.so
Function Usage
Obtains TensorDesc of an operator output based on the output name or index.
Prototype
APIs taking string arguments will be deprecated in future releases. Use APIs taking non-string arguments instead.
1 2 3 |
TensorDesc GetOutputDesc(const std::string &name) const TensorDesc GetOutputDescByName(const char_t *name) const TensorDesc GetOutputDesc(uint32_t index) const |
Parameters
Exception Handling
None
Constraints
None
Parent topic: Operator