Pascal-based deep learning API for AVX/OpenCL-capable devices
Top 73.7% on sourcepulse
CAI NEURAL API is a Pascal-based deep learning framework designed for high performance on CPUs with AVX/AVX2/AVX512 instruction sets and OpenCL-compatible GPUs. It targets developers seeking a native, fast, and readable deep learning solution, offering a comprehensive set of layers and training utilities.
How It Works
The API utilizes Pascal for its implementation, emphasizing native code compilation for speed and maintainability. It features a flexible TNNet
class for defining neural network architectures by adding various layer types, including convolutional, fully connected, pooling, and activation layers. Data is handled via TNNetVolume
, a multi-dimensional array structure optimized for SIMD operations and OpenCL acceleration. Training is managed through TNeuralFit
and TNeuralImageFit
classes, supporting both in-memory and on-the-fly data loading.
Quick Start & Requirements
neural
folder to your Lazarus unit search path.Highlighted Details
TNeuralThreadList
), and NLP tasks (tokenizers, transformers).Maintenance & Community
The project is primarily maintained by Joaopauloschuler. Community interaction channels are not explicitly listed in the README.
Licensing & Compatibility
The project does not explicitly state a license in the README. Compatibility for commercial use or closed-source linking is not specified.
Limitations & Caveats
The README mentions that some parts are "work in progress" and that accepting pull requests might be difficult. The lack of an explicit license could be a concern for commercial adoption.
2 months ago
1 day