GetNodeType
Function Usage
Obtains the type of an operator.
Prototype
1 | const ge::char_t *GetNodeType() const |
Parameters
None
Returns
Operator type.
Constraints
None
Examples
1 2 3 | // Assume that KernelContext *context already exists. auto extend_context = reinterpret_cast<ExtendedKernelContext *>(context); auto node_type = extend_context->GetNodeType(); |
Parent topic: ExtendedKernelContext