#NEWLINE# def uniform( self , size = None , low = 0.0 , high = 1.0 , ndim = None , dtype = None ) : #NEWLINE# #INDENT# '\n        Sample a tensor of given size whose element from a uniform\n        distribution between low and high.\n\n        If the size argument is ambiguous on the number of dimensions,\n        ndim may be a plain integer to supplement the missing information.\n\n        ' #NEWLINE# return self . gen ( uniform , size , low , self , ndim = ndim , dtype = dtype )