MakeOutputRefInput
Header File/Library File
- Header file: #include <exe_graph/runtime/eager_op_execution_context.h>
- Library file: liblowering.so
Function Usage
Specifies that the memory address of an output references an input.
Prototype
1 | Tensor *MakeOutputRefInput(size_t output_index, size_t input_index) const |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
output_index |
Input |
Output index. |
input_index |
Input |
Input index. |
Returns
Pointer to the output tensor corresponding to the specified output_index.
Restrictions
None
Parent topic: EagerOpExecutionContext