CoolFace
Apppublic

Aluode/PerceptionLabPortable

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
meson.build29 linesDownload Raw Back to tree
1tree_extension_metadata = {
2  '_tree':
3    {'sources': [cython_gen_cpp.process('_tree.pyx')],
4     'override_options': ['optimization=3']},
5  '_splitter':
6    {'sources': [cython_gen.process('_splitter.pyx')],
7     'override_options': ['optimization=3']},
8  '_partitioner':
9    {'sources': [cython_gen.process('_partitioner.pyx')],
10     'override_options': ['optimization=3']},
11  '_criterion':
12    {'sources': [cython_gen.process('_criterion.pyx')],
13     'override_options': ['optimization=3']},
14  '_utils':
15    {'sources': [cython_gen.process('_utils.pyx')],
16     'override_options': ['optimization=3']},
17}
18
19foreach ext_name, ext_dict : tree_extension_metadata
20  py.extension_module(
21    ext_name,
22    [ext_dict.get('sources'), utils_cython_tree],
23    dependencies: [np_dep],
24    override_options : ext_dict.get('override_options', []),
25    subdir: 'sklearn/tree',
26    install: true
27  )
28endforeach
29 
Aluode/PerceptionLabPortable · CoolFace