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

Function get_indexes

benchmarks/benchmarks/common.py:88–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86
87@lru_cache(typed=True)
88def get_indexes():
89 indexes = list(range(nx))
90 # so we do not have all items
91 indexes.pop(5)
92 indexes.pop(95)
93
94 indexes = np.array(indexes)
95 return indexes
96
97
98@lru_cache(typed=True)

Callers 2

get_indexes_randFunction · 0.85
get_indexes_Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected