Skip to content

Commit

Permalink
Version bump to 0.3.0 (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Ernst authored Aug 17, 2017
1 parent 8a99071 commit b62b91a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# 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

0 comments on commit b62b91a

Please sign in to comment.