shape
产品支持情况
产品 |
是否支持 |
---|---|
x |
|
√ |
|
x |
|
x |
|
x |
|
x |
函数功能
获取shape属性值。
函数原型
1 | shape() |
参数说明
无
调用示例
1 | shape = tensor_desc.shape |
返回值
返回shape。
约束说明
无
父主题: TensorDesc
产品 |
是否支持 |
---|---|
x |
|
√ |
|
x |
|
x |
|
x |
|
x |
获取shape属性值。
1 | shape() |
无
1 | shape = tensor_desc.shape |
返回shape。
无