![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tensorflow 1.x
戍蓝
这个作者很懒,什么都没留下…
展开
-
tensorflow 1.x GPU 版本安装
tensorflow 一般分为CPU版本和GPU版本,其中GPU版本可以用GPU加速程序运行。CPU版本安装比较简单,这里介绍的是GPU版本的安装方法: 版本配置很重要,我安装的配置如下:python3.6+TensorFlow 1.9+CUDA9.0 + cudnn7.1。 CUDA9.0下载地址https://developer.nvidia.com/cuda-90-download-ar...转载 2019-06-25 13:25:12 · 2460 阅读 · 0 评论 -
tensorflow 1.x 基本用法
一、TensorFlow 整体框架流程 1、定义数据变量 2、构造模型 3、定义损失函数 4、初始化变量 5、启动图 6、拟合模型 二、TensorFlow 主要术语简介 1、张量的阶、形状、数据类型 在TensorFlow系统中,张量的维数来被描述为阶.但是张量的阶和矩阵的阶并不是同一个概念.张量的阶(有时是关于如顺序或度数或者是n维)是张量维数的一个数量描述.比如,下面的张量...转载 2019-06-25 13:46:06 · 258 阅读 · 0 评论 -
tensorflow可视化:tensorboard用法
关键代码: tf.summary.scalar("loss",cross_entropy) tf.summary.scalar("accuracy", accuracy) # Merge all summaries to a single operator merged_summary_op = tf.summary.merge_all() sess.run(init) #日志文件保存地...转载 2019-06-25 13:58:38 · 90 阅读 · 0 评论