GetInputDesc
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 input based on the input 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 GetInputDesc(const std::string &name) const TensorDesc GetInputDescByName(const char_t *name) const TensorDesc GetInputDesc(uint32_t index) const |
Parameters
Exception Handling
None
Constraints
None
Parent topic: Operator