Swift AI is a high-performance deep learning library written entirely in Swift. We currently offer support for all Apple platforms, with Linux support coming soon.
Swift AI includes a collection of common tools used for artificial intelligence and scientific applications:
- NeuralNet
- A flexible, fully-connected neural network with support for deep learning
- Convolutional Neural Network
- Recurrent Neural Network
- Genetic Algorithm Library
- Fast Linear Algebra Library
- Signal Processing Library
We've created some example projects to demonstrate the usage of Swift AI. Each resides in their own repository and can be built with little or no configuration:
Each module now contains its own documentation. We recommend that you read the docs carefully for detailed instructions on using the various components of Swift AI.
The example projects are another great resource for seeing real-world usage of these tools.
If you're using Swift AI in one of your own projects, let us know! We'll add a link to your profile/website/app right here on the front page. Feel free to open an issue or submit a pull request.
Swift AI currently depends on Apple's Accelerate framework for vector/matrix calculations and digital signal processing.
In order to provide support for more platforms, alternative BLAS solutions are being considered.
Contributions to the project are welcome. We simply ask that you strive to maintain consistency with the structure and formatting of existing code.
Collin Hundley is the author and maintainer of Swift AI. Feel free contact him directly via email.
If you have a question about this library or are looking for guidance, we recommend opening an issue so a member of the community can help!
Your donation to Swift AI will help us continue building excellent open-source tools. All contributions are appreciated!