август 02, 2018 —
Posted by Pete Warden, Software Engineer
When TensorFlow was first launched in 2015, we wanted it to be an “open source machine learning framework for everyone”. To do that, we need to run on as many of the platforms that people are using as possible. We’ve long supported Linux, MacOS, Windows, iOS, and Android, but despite the heroic efforts of many contributors, running TensorFlow on a Raspberry…
CC Photo by osde8info |
sudo apt install libatlas-base-dev
pip3 install tensorflow
You can then run python3
in a terminal, and use TensorFlow just as you would on any other platform. Here’s a simple hello world example:# Python
import tensorflow as tf
tf.enable_eager_execution()
hello = tf.constant(‘Hello, TensorFlow!’)
print(hello)
If the system outputs the following, then you are ready to begin writing TensorFlow programs:Hello, TensorFlow!
август 02, 2018
—
Posted by Pete Warden, Software Engineer
When TensorFlow was first launched in 2015, we wanted it to be an “open source machine learning framework for everyone”. To do that, we need to run on as many of the platforms that people are using as possible. We’ve long supported Linux, MacOS, Windows, iOS, and Android, but despite the heroic efforts of many contributors, running TensorFlow on a Raspberry…