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

Function get_processor

numpy/_core/code_generators/genapi.py:19–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17
18
19def get_processor():
20 # Convoluted because we can't import from numpy
21 # (numpy is not yet built)
22 conv_template_path = os.path.join(
23 os.path.dirname(__file__),
24 '..', '..', '_build_utils', 'conv_template.py'
25 )
26 spec = importlib.util.spec_from_file_location(
27 'conv_template', conv_template_path
28 )
29 mod = importlib.util.module_from_spec(spec)
30 spec.loader.exec_module(mod)
31 return mod.process_file
32
33
34process_c_file = get_processor()

Callers 1

genapi.pyFile · 0.70

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…