<s> from cupy . random import generator <EOL> def lognormal ( mean = <NUM_LIT:0.0> , sigma = <NUM_LIT:1.0> , size = None , dtype = float ) : <EOL> """<STR_LIT>""" <EOL> rs = generator . get_random_state ( ) <EOL> return rs . lognormal ( mean , sigma , size = size , dtype = dtype ) <EOL> def normal ( loc = <NUM_LIT:0.0> , scale = <NUM_LIT:1.0> , size = None , dtype = float ) : <EOL> """<STR_LIT>""" <EOL> rs = generator . get_random_state ( ) <EOL> return rs . normal ( loc , scale , size = size , dtype = dtype ) <EOL> def standard_normal ( size = None , dtype = float ) : <EOL> """<STR_LIT>""" <EOL> return normal ( size = size , dtype = dtype ) <EOL> def uniform ( low = <NUM_LIT:0.0> , high = <NUM_LIT:1.0> , size = None , dtype = float ) : <EOL> """<STR_LIT>""" <EOL> rs = generator . get_random_state ( ) <EOL> return rs . uniform ( low , high , size = size , dtype = dtype ) </s>
