{"id":1371,"url":"https://github.com/pcpLiu/Serrano","last_synced_at":"2025-08-02T04:30:59.697Z","repository":{"id":62455197,"uuid":"109429077","full_name":"pcpLiu/Serrano","owner":"pcpLiu","description":"A Swift deep learning library with Accelerate and Metal support. ","archived":true,"fork":false,"pushed_at":"2018-03-15T21:42:33.000Z","size":1157,"stargazers_count":54,"open_issues_count":1,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-30T10:42:44.303Z","etag":null,"topics":["deep-learning","deep-neural-networks","ios","machine-learning","macos","swift"],"latest_commit_sha":null,"homepage":"http://serrano-lib.org/","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pcpLiu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-03T18:21:15.000Z","updated_at":"2024-09-18T16:00:01.000Z","dependencies_parsed_at":"2022-11-02T00:16:38.808Z","dependency_job_id":null,"html_url":"https://github.com/pcpLiu/Serrano","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcpLiu%2FSerrano","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcpLiu%2FSerrano/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcpLiu%2FSerrano/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcpLiu%2FSerrano/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pcpLiu","download_url":"https://codeload.github.com/pcpLiu/Serrano/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228438813,"owners_count":17920013,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deep-learning","deep-neural-networks","ios","machine-learning","macos","swift"],"created_at":"2024-01-05T20:15:44.928Z","updated_at":"2024-12-06T08:30:51.857Z","avatar_url":"https://github.com/pcpLiu.png","language":"Swift","funding_links":[],"categories":["Machine Learning"],"sub_categories":["Other Hardware","Other free courses"],"readme":"![logo](https://github.com/pcpLiu/Serrano/blob/master/logo.png)\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://travis-ci.org/pcpLiu/Serrano/\"\u003e\n        \u003cimg src=\"https://travis-ci.org/pcpLiu/Serrano.svg?branch=master\" alt=\"travisCI-building\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://codecov.io/gh/pcpLiu/Serrano\"\u003e\n        \u003cimg src=\"https://codecov.io/gh/pcpLiu/Serrano/branch/master/graph/badge.svg\" alt=\"coverage\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/pcpLiu/serrano\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/iOS-10.0%2B-blue.svg\" alt=\"iOS\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/pcpLiu/serrano\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/macOS-10.11%2B-lightgrey.svg\" alt=\"macOS\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/License-MIT-green.svg\" alt=\"License: MIT\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://swift.org\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/swift-3.2-09bf61.svg\" alt=\"Swift 3.2\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://gitter.im/serranoiOS\"\u003e\n        \u003cimg src=\"https://badges.gitter.im/pcpLiu/serranoiOS.svg\" alt=\"gitter\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Serrano \nAiming to offering popular and cutting edge techs in deep learning area on iOS devices, Serrano is developed as a tool for developers \u0026 researchers with deep learning background to quickly implement their ideas on iOS devices. Meanwhile, it supports macOS as a pure swift framework bonus. \n\n## Features\n- Implemented an efficient NDArray class [Tensor](http://serrano-lib.org/docs/latest/api/Classes/Tensor.html) which supports:\n  - CPU calculation with [BLAS](https://developer.apple.com/documentation/accelerate/blas)/[vecLib](https://developer.apple.com/documentation/accelerate/veclib)/[vDSP](https://developer.apple.com/documentation/accelerate/vdsp) for better performance \n  - GPU calculation on [no-copy MTLBuffer](https://developer.apple.com/documentation/metal/mtldevice/1433382-makebuffer) for memory saving\n- Offer common operators ([operator list](http://serrano-lib.org/)) for constructing various computation graphs and it is easy to [implement custom operators](http://serrano-lib.org/docs/latest/guides/Extension/Write%20your%20own%20operator/)\n- [Graph API](http://serrano-lib.org/docs/latest/api/Classes/ComputationGraph.html) support forward and backward with auto differentiation \n- No third-party library dependent. Compatible with iOS 10 and macOS.\n\n## Install\n\n#### Via CocoaPods\nInstall the latest version:\n```\npod 'Serrano', :git =\u003e 'https://github.com/pcpLiu/Serrano.git'\n```\n\n\n#### Manually integrate into your workspace/project\n\nDownload or clone Serrano and drag `serrano.xcodeproj` into your workspace or project.\nAdd `Serrano` into the `Target Dependencies` of your target.\n\n\n## Docs\nThe guides and APIs are hosted at [http://serrano-lib.org](http://serrano-lib.org).\n\n#### Quick example\n\nCheck [Serrano/Examples/Graph/VGG16.swift](https://github.com/pcpLiu/Serrano/blob/master/Examples/Graph/VGG16.swift) seeing how to use Graph API to construct a forward VGG16.\n\n#### TinyYOLO Demo Project\nCheck [Serrano-TinyYOLO](https://github.com/pcpLiu/Serrano-TinyYOLO), an iOS App do object detection on taken photo.\n\u003cimg src=\"https://github.com/pcpLiu/Serrano-TinyYOLO/blob/master/demo_result.jpg\" width=\"500\" /\u003e\n\n\n## Questions \u0026\u0026 Issues\n :bangbang: Please __only open [bug]/[feature request] related issues__ in THIS repo and follow this [issue guide](). :bangbang: \n\n__For any general issue/discussion || framework support__, please go to [pcpLiu/SerranoExplore](https://github.com/pcpLiu/SerranoExplore) opening an issue. Also you can discuss on [Gitter](https://gitter.im/SerranoFramework/Lobby)\n\n\n## macOSX\nSerrano was developed as an iOS framework. However, the framework could be added and used in Cocoa applications (macOS App) without effort. \n\n## Contribution\nContribution are wanted :loudspeaker:. And please read the [Contributing Guide](http://serrano-lib.org/docs/latest/guides/Contribution/Contribution/) before making a PR.\n\n## License\nSerrano is liscensed under [MIT](https://github.com/pcpLiu/serrano/blob/master/LICENSE). Copyright (c) 2017, Zhonghao (Tim) Liu.\n\n\n## Acknowledgement\nSerrano are inspired and influenced by these open source projects:\n\n- [MXNET](https://github.com/apache/incubator-mxnet)\n- [Keras](https://github.com/fchollet/keras)\n- [TensorFlow](https://www.tensorflow.org/)\n- [Caffe](https://github.com/BVLC/caffe)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FpcpLiu%2FSerrano","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FpcpLiu%2FSerrano","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FpcpLiu%2FSerrano/lists"}