'Number of elements in the array.
Equivalent to the product of the array\'s dimensions.
Examples
>>> import numpy as np
>>> x = mx.nd.zeros((3, 5, 2))
>>> x.size
30
>>> np.prod(x.shape)
30'

@property
def size(self):

    size = 1
    for i in self.shape:
        size *= i
    return size
