TensorFlow下载与安装(Ubuntu)
来源:互联网 发布:淘宝搜索结果不对 编辑:程序博客网 时间:2024/05/17 23:06
Pip 安装TensorFlow
1、安装pip
# Ubuntu/Linux 64-bit$ sudo apt-get install python-pip python-dev
2、安装 TensorFlow
# Ubuntu/Linux 64-bit, CPU only, Python 2.7:$ sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
3、运行 TensorFlow
打开一个 python 终端:
$ python>>> import tensorflow as tf>>> hello = tf.constant('Hello, TensorFlow!')>>> sess = tf.Session()>>> print sess.run(hello)Hello, TensorFlow!>>> a = tf.constant(10)>>> b = tf.constant(32)>>> print sess.run(a+b)42>>>
转自极客学院:http://wiki.jikexueyuan.com/project/tensorflow-zh/get_started/os_setup.html
阅读全文
0 0
- TensorFlow下载与安装(Ubuntu)
- Tensorflow下载与安装
- tensorFlow 安装(ubuntu)
- 安装tensorflow(ubuntu)
- Ubuntu下载与安装
- TensorFlow学习笔记:1、TensorFlow快速下载与安装
- 安装Tensorflow(Linux ubuntu)
- 安装Tensorflow(Linux ubuntu)
- ubuntu与centos安装tensorflow经验总结
- ubuntu安装Theano库与Tensorflow
- Ubuntu Apache下载与安装
- Ubuntu 系统下载与安装
- Ubuntu 安装TensorFlow安装
- Tensorflow下载和安装
- TensorFlow下载安装&入门教程
- tensorflow gpu 安装(附百度云下载安装文件)ubuntu 14.04 64bit + tensosrflow gpu + cuda +cudnn +python 2.7
- tensorflow的安装教程(基于Ubuntu)
- (二)Ubuntu下安装tensorflow
- 90个PHP常用接口数据过滤的方法
- 莫队算法 区间Gcd Hdu 5381
- ajax学习
- com.netflix.zuul.exception.zuulexception timeout
- activiti部署、执行,完成简单示例
- TensorFlow下载与安装(Ubuntu)
- RobotFramework之关键字
- LeetCode 39. Combination Sum
- java对象的多态性
- 递归遍历无限级分类
- mybatis动态sql中的trim标签的使用
- 免费的酷播云使用操作步骤(四步轻松完成哦)
- C++默认参数函数及函数重载
- Java异常处理