def size ( self ) : return np . multiply . reduce ( self . shape , dtype = np . int32 )
dimension of the array to a variable in python
The size of this parameter equivalent to self . value . size
def size(self):
        """The size of this parameter, equivalent to self.value.size"""
        return np.multiply.reduce(self.shape, dtype=np.int32)