AddGraphInput
产品支持情况
头文件/库文件
- 头文件:#include <ge/es_c_graph_builder.h>
- 库文件:libeager_style_graph_builder_base.so、libeager_style_graph_builder_base.a
功能说明
在指定位置添加图输入。
函数原型
EsCTensorHolder *AddGraphInput(int32_t index, const ge::char_t *name = nullptr, const ge::char_t *type = nullptr, C_DataType data_type = C_DT_FLOAT, C_Format format = C_FORMAT_ND, const int64_t *dims = nullptr, int64_t dim_num = 0)
参数说明
返回值说明
约束说明
无