TensorFlow案例源码

TensorFlow是目前最流行的机器学习算法开源实现,这是Github上开源的一个TensorFlow教程,这个教程通过案例为初学者快速切入TensorFlow学习提供帮助。

该教程为初学者提供了大量有关TensorFlow清晰和准确的案例,为了可读性,教程包含notebook 和代码双份解释。

其第一个Hello world代码如下:


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
print sess.run(hello)

项目:
GitHub - aymericdamien/TensorFlow-Examples: Tensor
[该贴被banq于2016-06-01 07:38修改过]