OpName
Function Usage
Sets an operator name to build ComputeNodeInfo in the base class ExtendedKernelContext of each subclass Context.
Prototype
1 | T &OpName(const ge::AscendString &op_name) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
op_name |
Input |
Operator name. |
Returns
A reference to the subclass object of type T. It is used for subclass chain calls.
Constraints
None
Parent topic: OpContextBuilderBase