OutputIsView
Function Usage
Obtains whether an output carries discontinuous information based on the operator output index. The output index refers to the actual index after operator instantiation, not the index in the prototype definition.
This API is reserved for future use and not supported in the current version.
Prototype
1 | bool OutputIsView(const size_t index) const |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
index |
Input |
Operator output index, starting from 0. |
Returns
Whether the output tensor carries discontinuous description information.
- true: The output tensor carries discontinuous description information.
- false: The index is invalid or the output tensor does not carry discontinuous description information.
Constraints
None
Examples
1 2 3 4 | ge::graphStatus TilingForMul(TilingContext *context) { auto output_is_view_0 = context->InputIsView(0); ... } |
Parent topic: TilingContext