Where is DLDataType defined?

I don’t find the definition of DLDataType in tvm hpp/cpp, and I found a definition in python/tvm/_ffi/_cython/base.pxi, nevertheless, I don’t know how cpp code can use a definition from base.pxi file, need your help~

DLDataType is defined in the 3rdparty/dlpack/include/dlpack.h

Got it! thank you very much~ By the way, whether python/tvm/_ffi/_cython is used in TVM, and what’s the DLDataType in it is used for?

that is part of the python binding

Got it! Thank you ~~