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