get_element_cnt
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Obtains the number of elements in a tensor.
Prototype
1 | get_element_cnt(self) -> int |
Parameters
None
Returns
Number of elements in a tensor
Exception Handling
None
Constraints
None
Parent topic: Tensor Class