mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
Add profile=False to currently unprofiled cython
This commit is contained in:
parent
36201cb6a1
commit
55614d6799
|
@ -1,3 +1,4 @@
|
|||
# cython: profile=False
|
||||
from .errors import Errors
|
||||
|
||||
IOB_STRINGS = ("", "I", "O", "B")
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# cython: embedsignature=True
|
||||
# cython: profile=False
|
||||
# Compiler crashes on memory view coercion without this. Should report bug.
|
||||
cimport numpy as np
|
||||
from libc.string cimport memset
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# cython: infer_types=True, cdivision=True, boundscheck=False
|
||||
# cython: profile=False
|
||||
cimport numpy as np
|
||||
from libc.math cimport exp
|
||||
from libc.stdlib cimport calloc, free, realloc
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# cython: infer_types
|
||||
# cython: profile=False
|
||||
import warnings
|
||||
|
||||
import numpy
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
# cython: profile=False
|
||||
IDS = {
|
||||
"": NO_TAG,
|
||||
"ADJ": ADJ,
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# cython: infer_types=True, binding=True
|
||||
# cython: profile=False
|
||||
from cython.operator cimport dereference as deref
|
||||
from libc.stdint cimport UINT32_MAX, uint32_t
|
||||
from libc.string cimport memset
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
# cython: profile=False
|
|
@ -1,3 +1,4 @@
|
|||
# cython: profile=False
|
||||
from cymem.cymem cimport Pool
|
||||
from libc.stdint cimport int32_t
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# cython: infer_types=True
|
||||
# cython: profile=False
|
||||
from libcpp.vector cimport vector
|
||||
|
||||
from ...tokens.doc cimport Doc
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# cython: infer_types=True
|
||||
# cython: profile=False
|
||||
from __future__ import print_function
|
||||
|
||||
from cymem.cymem cimport Pool
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# cython: infer_types=True, cdivision=True, boundscheck=False, binding=True
|
||||
# cython: profile=False
|
||||
from __future__ import print_function
|
||||
|
||||
cimport numpy as np
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# cython: infer_types=True
|
||||
# cython: profile=False
|
||||
cimport cython
|
||||
from libc.stdint cimport uint32_t
|
||||
from libc.string cimport memcpy
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# cython: optimize.unpack_method_calls=False
|
||||
# cython: profile=False
|
||||
IDS = {
|
||||
"": NIL,
|
||||
"IS_ALPHA": IS_ALPHA,
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# cython: infer_types=True, cdivision=True, boundscheck=False, binding=True
|
||||
# cython: profile=False
|
||||
from typing import Generator, List, Tuple
|
||||
|
||||
cimport cython
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# cython: profile=False
|
||||
cimport numpy as np
|
||||
from libc.string cimport memset
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# cython: profile=False
|
||||
cimport numpy as np
|
||||
|
||||
import copy
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# cython: profile=False
|
||||
import struct
|
||||
import weakref
|
||||
from copy import deepcopy
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# cython: infer_types=True
|
||||
# cython: profile=False
|
||||
# Compiler crashes on memory view coercion without this. Should report bug.
|
||||
cimport numpy as np
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# cython: profile=False
|
||||
import re
|
||||
from itertools import chain
|
||||
from typing import List, Tuple
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# cython: profile=False
|
||||
from typing import List
|
||||
|
||||
import numpy
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# cython: profile=False
|
||||
from collections.abc import Iterable as IterableInstance
|
||||
|
||||
import numpy
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# cython: profile=False
|
||||
import warnings
|
||||
|
||||
import srsly
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
# cython: profile=False
|
Loading…
Reference in New Issue
Block a user