dlpack

Common in-memory tensor structure for deep learning frameworks

brewmacoslinux
Try with needOr install directly
Source

About

Common in-memory tensor structure

Commands

dlpack

Examples

Check DLPack version and installation$ brew info dlpack
Verify DLPack headers are installed in development environment$ find $(brew --prefix dlpack) -name '*.h'
Use DLPack in C/C++ projects by including the header$ cat > test.c << 'EOF' #include <dlpack/dlpack.h> int main() { return 0; } EOF gcc test.c -I$(brew --prefix dlpack)/include