MCPcopy Create free account
hub / github.com/numpy/numpy / get_values

Function get_values

benchmarks/benchmarks/common.py:45–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43
44@lru_cache(typed=True)
45def get_values():
46 rnd = np.random.RandomState(1)
47 values = np.tile(rnd.uniform(0, 100, size=nx*ny//10), 10)
48 return values
49
50
51@lru_cache(typed=True)

Callers 1

get_squareFunction · 0.85

Calls 1

uniformMethod · 0.80

Tested by

no test coverage detected