MCPcopy Create free account
hub / github.com/microsoft/Cream / random

Method random

TinyViT/data/augmentation/aug_random.py:24–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22 # inline: random module
23 @staticmethod
24 def random():
25 return RNG.random()
26
27 @staticmethod
28 def uniform(a, b):

Callers 15

__call__Method · 0.80
__call__Method · 0.80
_randomly_negateFunction · 0.80
__call__Method · 0.80
__call__Method · 0.80
__call__Method · 0.80
__call__Method · 0.80
get_paramsMethod · 0.80
__call__Method · 0.80
uniformMethod · 0.80
randintMethod · 0.80
randMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected