tensorflow
文章平均质量分 75
kobbbb
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
tensorflow--Linear Regression
import tensorflow as tfimport numpyimport matplotlib.pyplot as pltrng = numpy.random# Parameterslearning_rate = 0.01training_epochs = 1000display_step = 50# Training Datatrain_X = numpy.asa...原创 2018-04-07 15:26:06 · 359 阅读 · 1 评论 -
tensorflow--Hello World
tensorflow内部原理可参考tensorflow原理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 cons...原创 2018-04-02 20:57:58 · 213 阅读 · 0 评论 -
tensorflow--Logistics Regression
import tensorflow as tf# Import MNIST datafrom tensorflow.examples.tutorials.mnist import input_datamnist = input_data.read_data_sets("/tmp/data/", one_hot=True) # one_hot是一种编码方式,在MNIST中,标签为2的编码为0...原创 2018-04-11 22:50:11 · 292 阅读 · 0 评论 -
tensorflow--Basic Operations
import tensorflow as tf# Basic constant operations# The value returned by the constructor represents the output# of the Constant op.a = tf.constant(2)b = tf.constant(3)# Launch the default gra...原创 2018-04-02 22:17:26 · 190 阅读 · 0 评论
分享