Latest 0.1.6-alpha
Homepage https://github.com/pcpLiu/Serrano
License MIT
Platforms ios 10.0, osx 10.11, requires ARC
Frameworks Accelerate, Metal*
Authors

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.

Serrano

Questions && Issues

:bangbang: Please only open [bug]/

  • related issues in THIS repo and follow this [issue guide](). :bangbang:

    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 :loudspeaker:. 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:

    Latest podspec

    {
        "name": "Serrano",
        "version": "0.1.6-alpha",
        "license": {
            "type": "MIT"
        },
        "homepage": "https://github.com/pcpLiu/Serrano",
        "authors": {
            "Tim Liu": "[email protected]"
        },
        "summary": "Graph computation library for iOS",
        "source": {
            "git": "https://github.com/pcpLiu/Serrano.git",
            "tag": "0.1.6-alpha"
        },
        "module_name": "Serrano",
        "documentation_url": "http://serrano-lib.org",
        "platforms": {
            "ios": "10.0",
            "osx": "10.11"
        },
        "requires_arc": true,
        "frameworks": "Accelerate",
        "weak_frameworks": "Metal",
        "source_files": "Source/**/*.{swift,c,h}",
        "public_header_files": "Source/SupportingFiles/Serrano.h",
        "resources": "Source/**/*.{metal}",
        "preserve_paths": "Source/library/FBSUtil/module.modulemap",
        "pod_target_xcconfig": {
            "SWIFT_VERSION": "3.2",
            "USER_HEADER_SEARCH_PATHS": "$(PODS_TARGET_SRCROOT)/Source/library/FBSUtil/**",
            "SWIFT_INCLUDE_PATHS": "$(PODS_TARGET_SRCROOT)/Source/library/FBSUtil/**",
            "MTL_HEADER_SEARCH_PATHS": "$(PODS_TARGET_SRCROOT)/Source/Serrano/utils"
        },
        "pushed_with_swift_version": "3.2"
    }

    Pin It on Pinterest

    Share This