Skip to content

Commit

Permalink
add swift-models quickstart (tensorflow#549)
Browse files Browse the repository at this point in the history
Co-authored-by: Dave Abrahams <[email protected]>
Co-authored-by: Brennan Saeta <[email protected]>
  • Loading branch information
3 people authored Oct 28, 2020
1 parent 648c1be commit 4f2996c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,16 @@ var x = Tensor<Float>([[1, 2], [3, 4]])
print(x + x)
```

## Run [swift-models](https://github.com/tensorflow/swift-models)

```sh
git clone https://github.com/tensorflow/swift-models.git
cd swift-models
swift run
```

Swift will print an error with a list of executable names that exercise different models.
Issue `swift run` *executable-name* to select the model you're interested in.

## To build on Linux/MacOS

Expand Down

0 comments on commit 4f2996c

Please sign in to comment.