昇腾社区
Developers
主页
开发
文档
活动
学习
论坛
博客
开发者计划
More
Home
Products
Solutions
More
Atlas Hardware
Coming Soon
Heterogeneous Compute Architecture
CANN
AI Frameworks
MindSpore
PyTorch Adaptation
TensorFlow Adaptation
Application Enablement
MindSpeed
MindIE
MIndCluster
MindEdge
MindSDK
ModelZoo
Full-Pipeline Development Toolchains
MindStudio
Cluster O&M
CCAE
Industry Applications
Internet
Telecom
Urban Data Center
Finance
Education
Energy
Transportation
Manufacturing
Healthcare
Solutions
MoE EP Solution
Atlas Foundation Model Solution
Documentation

SetNodeType

Description

Sets the operator type.

Prototype

void SetNodeType(const ge::char_t *node_type)

Parameters

Parameter

Input/Output

Description

node_type

Input

Operator type.

Returns

None

Restrictions

None

Example

compute_node_info.SetNodeType("Const");
Parent topic: ComputeNodeInfo

版权所有 © 2021-2026华为技术有限公司 保留一切权利 粤A2-20044005号

法律声明
隐私政策
Cookie协议
用户协议
联系我们