OpType 函数功能设置算子类型,用于构造各子类Context的基类ExtendedKernelContext中ComputeNodeInfo信息。 函数原型1T &OpType(const ge::AscendString &op_type) 参数说明 参数 输入/输出 说明 op_type 输入 算子类型。 返回值说明返回子类对象T类型的引用,用于支持子类链式调用。 约束说明无 父主题: OpContextBuilderBase