开发者
下载

get_shape

产品支持情况

全量芯片支持。

功能说明

获取张量形状。

函数原型

1
get_shape() -> List[int]

参数说明

返回值说明

(List[int]) 形状列表。

约束说明

如果获取失败,抛出RuntimeError。