File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ Tips to ease development
63
63
# You might want to add this alias to your shell script config.
64
64
alias cythonX="cython -X language_level=3 -X boundscheck=False -X wraparound=False -X initializedcheck=False -X nonecheck=False -X cdivision=True"
65
65
66
- # This generates `source.c` as as if you had recompiled scikit-learn entirely.
66
+ # This generates `source.c` as if you had recompiled scikit-learn entirely.
67
67
cythonX --annotate source.pyx
68
68
69
69
* Using the ``--annotate `` option with this flag allows generating a HTML report of code annotation.
Original file line number Diff line number Diff line change @@ -75,12 +75,14 @@ def cythonize_extensions(extension):
75
75
"initializedcheck" : False ,
76
76
"nonecheck" : False ,
77
77
"cdivision" : True ,
78
+ "profile" : False ,
78
79
}
79
80
80
81
return cythonize (
81
82
extension ,
82
83
nthreads = n_jobs ,
83
84
compiler_directives = compiler_directives ,
85
+ annotate = False ,
84
86
)
85
87
86
88
Original file line number Diff line number Diff line change 1
- # cython: language_level=3
2
-
3
1
# Fused types for input like y_true, raw_prediction, sample_weights.
4
2
ctypedef fused floating_in:
5
3
double
You can’t perform that action at this time.
0 commit comments