Skip to content
Branch: master
Find file Copy path
3 contributors

Users who have contributed to this file

@RWalecki @vra @aymericdamien
26 lines (18 sloc) 522 Bytes
HelloWorld example using TensorFlow library.
Author: Aymeric Damien
from __future__ import print_function
import tensorflow as tf
# Simple hello world using TensorFlow
# Create a Constant op
# The op is added as a node to the default graph.
# The value returned by the constructor represents the output
# of the Constant op.
hello = tf.constant('Hello, TensorFlow!')
# Start tf session
sess = tf.Session()
# Run the op
You can’t perform that action at this time.