Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version bump to 0.3.0 #71

Merged
merged 2 commits into from
Aug 17, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
# Change Log
All notable changes to Bender will be documented in this file.

### [0.3.0](https://github.com/xmartlabs/Bender/releases/tag/0.3.0)
<!-- Released on 2017-08-17. -->

* Breaking changes:
* Constructor of `LayerSize`.
* Constructor of `Network` class.
* `Network` static method for loading a graph from TensorFlow.
* `Network` `run` method.
* `Converter` protocol definition.



### [0.2.0](https://github.com/xmartlabs/Bender/releases/tag/0.2.0)
<!-- Released on 2017-08-09. -->

Expand Down
2 changes: 1 addition & 1 deletion MetalBender.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "MetalBender"
s.version = "0.2.0"
s.version = "0.3.0"
s.summary = "Bender is an abstraction layer over MetalPerformanceShaders useful for working with neural networks."
s.homepage = "https://github.com/xmartlabs/Bender"
s.license = { type: 'MIT', file: 'LICENSE' }
Expand Down
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,9 @@ You can define your own network in Bender using our custom operator or you can l
```swift
import MetalBender

// Load a model from TensorFlow
let url = Bundle.main.url(forResource: "myModel", withExtension: "pb")!
let network = Network.load(url: url, converter: TFConverter.default(), inputSize: LayerSize(h: 256, w: 256, f: 3))
let url = Bundle.main.url(forResource: "myModel", withExtension: "pb")! // A TensorFlow model.
let network = Network.load(url: url, inputSize: LayerSize(h: 256, w: 256, f: 3))

// Run the network
network.run(input: /* ... */) { output in
// ...
}
Expand Down Expand Up @@ -119,7 +117,7 @@ Follow these steps to run the examples:
To install Bender, simply add the following line to your Podfile:

```ruby
pod 'MetalBender', '~> 0.2'
pod 'MetalBender', '~> 0.3'
```

> Remember that Bender compiles for iOS 10. So you must add `platform :ios, '10.0'` to your Podfile
Expand All @@ -131,7 +129,7 @@ pod 'MetalBender', '~> 0.2'
To install Bender, add the following line to your Cartfile:

```ogdl
github "xmartlabs/Bender" ~> 0.2
github "xmartlabs/Bender" ~> 0.3
```

Then run:
Expand Down