GetOutputTensor
Header File/Library File
- Header file: #include <exe_graph/runtime/eager_op_execution_context.h>
- Library file: liblowering.so
Function Usage
Obtains the pointer to the output tensor based on the specified index.
Prototype
1 | const Tensor *GetOutputTensor(size_t index) const |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
index |
Input |
Output index. |
Returns
Pointer to the output tensor. If an exception occurs, a null pointer is returned.
Restrictions
None
Parent topic: EagerOpExecutionContext