昇腾社区首页
中文
注册
开发者
下载

GetInputHandleShapesAndTypes

产品支持情况

产品

是否支持

Atlas A3 训练系列产品/Atlas A3 推理系列产品

Atlas A2 训练系列产品/Atlas A2 推理系列产品

Atlas 200I/500 A2 推理产品

Atlas 推理系列产品

Atlas 训练系列产品

头文件

#include <graph/inference_context.h>

功能说明

在推理上下文中,获取算子输入句柄的ShapeAndType

函数原型

1
const std::vector<std::vector<ShapeAndType>> &GetInputHandleShapesAndTypes() const

参数说明

无。

返回值说明

算子输入句柄的ShapeAndType

异常处理

无。

约束说明

无。