(self)
return np.prod(self.shape)
Returns the number of elements in the array.
Returns the number of elements in the array.
Returns the number of elements in the array .
def size(self):
    """Returns the number of elements in the array."""
    return np.prod(self.shape)
def size ( self ) : return np . prod ( self . shape )