A Swift deep learning library with Accelerate and Metal support.
Branch: master
Clone or download
pcpLiu Merge pull request #8 from pcpLiu/dev
 Add grad compute for ThresholdedReLUOp, LeakyReluOp
Latest commit 984def6 Mar 15, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add Contribution guide. Nov 5, 2017
Examples Added grad compute and Updated API. Mar 15, 2018
Flatbuffers
Source Merge pull request #8 from pcpLiu/dev Mar 15, 2018
Tests Add grad compute for ThresholdedReLUOp, LeakyReluOp Mar 15, 2018
docs
scripts Modify TravisCI script. Mar 15, 2018
serrano.xcodeproj
.gitattributes
.gitignore Add API loading saved tensor params from flatbuffers. Nov 7, 2017
.mkdocs.yml
.swift-version
.travis.yml
CONTRIBUTORS.md Add Contribution guide. Nov 5, 2017
LICENSE
README.md Added TinyYOLO Demo project link Dec 12, 2017
Serrano.podspec Prepare release Dec 12, 2017
codecov.yml Added grad compute and Updated API. Mar 15, 2018
logo.png

README.md

logo

travisCI-building coverage iOS macOS License: MIT Swift 3.2 gitter

Serrano

Aiming to offering popular and cutting edge techs in deep learning area on iOS devices, Serrano is developed as a tool for developers & researchers with deep learning background to quickly implement their ideas on iOS devices. Meanwhile, it supports macOS as a pure swift framework bonus.

Features

  • Implemented an efficient NDArray class Tensor which supports:
  • Offer common operators (operator list) for constructing various computation graphs and it is easy to implement custom operators
  • Graph API support forward and backward with auto differentiation
  • No third-party library dependent. Compatible with iOS 10 and macOS.

Install

Via CocoaPods

Install the latest version:

pod 'Serrano', :git => 'https://github.com/pcpLiu/Serrano.git'

Manually integrate into your workspace/project

Download or clone Serrano and drag serrano.xcodeproj into your workspace or project. Add Serrano into the Target Dependencies of your target.

Docs

The guides and APIs are hosted at http://serrano-lib.org.

Quick example

Check Serrano/Examples/Graph/VGG16.swift seeing how to use Graph API to construct a forward VGG16.

TinyYOLO Demo Project

Check Serrano-TinyYOLO, an iOS App do object detection on taken photo.

Questions && Issues

‼️ Please only open [bug]/[feature request] related issues in THIS repo and follow this issue guide. ‼️

For any general issue/discussion || framework support, please go to pcpLiu/SerranoExplore opening an issue. Also you can discuss on Gitter

macOSX

Serrano was developed as an iOS framework. However, the framework could be added and used in Cocoa applications (macOS App) without effort.

Contribution

Contribution are wanted 📢. And please read the Contributing Guide before making a PR.

License

Serrano is liscensed under MIT. Copyright (c) 2017, Zhonghao (Tim) Liu.

Acknowledgement

Serrano are inspired and influenced by these open source projects: