![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
TensorFlow
as394349658
这个作者很懒,什么都没留下…
展开
-
TensorFlow——hello world
import tensorflow as tfhello = tf.constant("hello,Tensorflow!") # 定义一个常量# a = tf.constant(3)# b = tf.constant(4)a = tf.placeholder(tf.int16) # 占位符b = tf.placeholder(tf.int16)add = tf.add(a, ...原创 2019-08-26 09:35:49 · 123 阅读 · 0 评论 -
TensorFlow基本分类
训练了一个神经网络模型,来对服装图像进行分类,例如运动鞋和衬衫。tf.keras,这是一个用于在TensorFlow中构建和训练模型的高级API。from __future__ import absolute_import, division, print_function, unicode_literals'''通过该模块,python2可以调用python3的某些功能。首先是可以做个性...原创 2019-08-28 14:25:03 · 3105 阅读 · 0 评论