get_element_cnt
函数功能
获取Tensor中的元素的个数。
函数原型
1
get_element_cnt
(
self
)
->
int
参数说明
无
返回值
返回Tensor中的元素的个数。
异常处理
无
约束说明
无
父主题:
Tensor类