| Qualcomm Hexagon Public Interface | | --- | Loading... Searching... No Matches [Public Attributes](https://docs.qualcomm.com/doc/80-63442-10/topic/structQHPI__OpRef.html#pub-attribs) | [List of all members](https://docs.qualcomm.com/doc/80-63442-10/topic/structQHPI__OpRef-members.html) QHPI\_OpRef Struct Reference Reference to a specific output of an operator. [More...](https://docs.qualcomm.com/doc/80-63442-10/topic/structQHPI__OpRef.html#details) `#include ` | Public Attributes | Public Attributes | | --- | --- | | const [QHPI_Op](https://docs.qualcomm.com/doc/80-63442-10/topic/qhpi_8h.html#ad34b09b5fd1b00a0bf0cdc5bb93e9208) \* | [op](https://docs.qualcomm.com/doc/80-63442-10/topic/structQHPI__OpRef.html#a9b8ff10eeac9fb8c9076949a10103959) | | | | | uint32\_t | [output_number](https://docs.qualcomm.com/doc/80-63442-10/topic/structQHPI__OpRef.html#a8738d7e14fece2385049f1cd5259a208) | | | | ## Detailed Description Reference to a specific output of an operator. Since operators may produce multiple outputs, an OpRef pairs an operator pointer with an output index. This is the primary way tensors are represented during graph optimization. ## Member Data Documentation ## [◆](https://docs.qualcomm.com/doc/80-63442-10/topic/structQHPI__OpRef.html#a9b8ff10eeac9fb8c9076949a10103959)op | const [QHPI_Op](https://docs.qualcomm.com/doc/80-63442-10/topic/qhpi_8h.html#ad34b09b5fd1b00a0bf0cdc5bb93e9208)\* QHPI\_OpRef::op | | --- | The operator that produces the tensor. ## [◆](https://docs.qualcomm.com/doc/80-63442-10/topic/structQHPI__OpRef.html#a8738d7e14fece2385049f1cd5259a208)output\_number | uint32\_t QHPI\_OpRef::output\_number | | --- | Zero-based index of the output on that operator. * * * Last Published: Aug 06, 2026 Source: [https://docs.qualcomm.com/doc/80-63442-10/topic/structQHPI__OpRef.html](https://docs.qualcomm.com/doc/80-63442-10/topic/structQHPI__OpRef.html)