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

Method _load_b

numpy/core/tests/test_simd.py:136–140  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

134 return [true_mask if x % 2 else 0 for x in rng]
135
136 def _load_b(self, data):
137 len_str = self.sfx[1:]
138 load = getattr(self.npyv, "load_u" + len_str)
139 cvt = getattr(self.npyv, f"cvt_b{len_str}_u{len_str}")
140 return cvt(load(data))
141
142 def test_operators_logical(self):
143 """

Callers 4

test_tobitsMethod · 0.95
test_packMethod · 0.95

Calls 1

loadFunction · 0.50

Tested by

no test coverage detected