GetOpId
Function Usage
Obtains the unique ID of the current operator.
Prototype
1 | int64_t GetOpId() const |
Parameters
None
Returns
An int64_t integer is returned, indicating the unique ID of the operator in the computational graph.
Constraints
None
Examples
1 2 3 4 | int64_t GetOpId(ExeResGenerationContext* context) { auto opId= context->GetOpId(); // ... } |
Parent topic: ExeResGenerationContext