Cython Numpy warning about NPY_NO_DEPRECATED_API when using MemoryView

后端 未结 3 1608
南笙
南笙 2020-12-16 09:07

I am converting a Cython memoryview to a numpy array (to be able to use it in pure Python code):

from libc.stdlib cimport realloc
cimport numpy as np

DTYPE          


        
3条回答
  •  感情败类
    2020-12-16 09:42

    Just for a further reference, cython online docs says this is because Cython is using a deprecated Numpy API, and for the time being, it's just a warning that we can ignore.

提交回复
热议问题