computeNumElements property
int
get
computeNumElements
Implementation
int get computeNumElements {
int n = 1;
final List<int> shape = this.shape;
for (int i = 0; i < shape.length; i++) {
n *= shape[i];
}
return n;
}