README.md in tensorflow-0.1.0 vs README.md in tensorflow-0.1.1

- old
+ new

@@ -1,11 +1,13 @@ # TensorFlow [TensorFlow](https://github.com/tensorflow/tensorflow) - the end-to-end machine learning platform - for Ruby -:fire: Uses the C API for blazing performance +:fire: Uses the C API under the hood +[![Build Status](https://travis-ci.org/ankane/tensorflow.svg?branch=master)](https://travis-ci.org/ankane/tensorflow) + ## Installation [Install TensorFlow](#tensorflow-installation). For Homebrew, use: ```sh @@ -18,11 +20,11 @@ gem 'tensorflow' ``` ## Getting Started -This library follows the TensorFlow 2.0 [Python API](https://www.tensorflow.org/versions/r2.0/api_docs/python/tf). Many methods and options are missing at the moment. PRs welcome! +This library follows the TensorFlow 2.0 [Python API](https://www.tensorflow.org/versions/r2.0/api_docs/python/tf). Many methods and options are missing at the moment. Here’s the [current plan](https://github.com/ankane/tensorflow/issues/1). Additional PRs welcome! ## Constants ```ruby a = Tf.constant(2) @@ -39,11 +41,10 @@ ## FizzBuzz ```ruby def fizzbuzz(max_num) - counter = Tf.constant(0) max_num.times do |i| num = Tf.constant(i + 1) if (num % 3).to_i == 0 && (num % 5).to_i == 0 puts "FizzBuzz" elsif (num % 3).to_i == 0 @@ -89,12 +90,14 @@ ```sh brew install tensorflow ``` +Alternatively, download the [shared library](https://www.tensorflow.org/install/lang_c#download) and move the files in `lib` to `/usr/local/lib`. + ### Linux -Download the [shared library](https://www.tensorflow.org/install/lang_c#download) and move `libtensorflow.so` to `/usr/local/lib`. +Download the [shared library](https://www.tensorflow.org/install/lang_c#download) and move the files in `lib` to `/usr/local/lib`. ### Windows Download the [shared library](https://www.tensorflow.org/install/lang_c#download) and move `tensorflow.dll` to `C:\Windows\System32`.