forked from mindspore-Ecosystem/mindspore
13 lines
242 B
ReStructuredText
13 lines
242 B
ReStructuredText
|
|
mindspore.ops.numel
|
||
|
|
====================
|
||
|
|
|
||
|
|
.. py:function:: mindspore.ops.numel(x)
|
||
|
|
|
||
|
|
返回Tensor的元素的总数量。
|
||
|
|
|
||
|
|
参数:
|
||
|
|
- **x** (Tensor) - 输入Tensor。
|
||
|
|
|
||
|
|
返回:
|
||
|
|
int。Tensor的元素的总数量。
|