MCPcopy Create free account
hub / github.com/PyO3/rust-numpy / get_np_locals

Function get_np_locals

tests/array.rs:18–22  ·  view source on GitHub ↗
(py: Python<'_>)

Source from the content-addressed store, hash-verified

16};
17
18fn get_np_locals(py: Python<'_>) -> Bound<'_, PyDict> {
19 [("np", get_array_module(py).unwrap())]
20 .into_py_dict(py)
21 .unwrap()
22}
23
24fn not_contiguous_array(py: Python<'_>) -> Bound<'_, PyArray1<i32>> {
25 py.eval(

Callers 2

not_contiguous_arrayFunction · 0.70
not_aligned_arrayFunction · 0.70

Calls 1

get_array_moduleFunction · 0.85

Tested by

no test coverage detected