MCPcopy Index your code
hub / github.com/numpy/numpy / time_nested

Method time_nested

benchmarks/benchmarks/bench_shape_base.py:51–63  ·  view source on GitHub ↗
(self, n)

Source from the content-addressed store, hash-verified

49 [self.zero_2d]])
50
51 def time_nested(self, n):
52 np.block([
53 [
54 np.block([
55 [self.one],
56 [self.three],
57 [self.four]
58 ]),
59 self.two
60 ],
61 [self.five, self.six],
62 [self.zero]
63 ])
64
65 def time_no_lists(self, n):
66 np.block(1)

Callers

nothing calls this directly

Calls 1

blockMethod · 0.80

Tested by

no test coverage detected