当前位置:网站首页>查看tensorflow是否支持GPU,以及测试程序
查看tensorflow是否支持GPU,以及测试程序
2022-06-29 06:39:00 【Wanderer001】
测试程序
# Python
import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
print(sess.run(hello))是否支持GPU
import tensorflow as tf
sess = tf.Session(config=tf.ConfigProto(log_device_placement=True))
>>>
Device mapping:
/job:localhost/replica:0/task:0/device:GPU:0 -> device: 0, name: GeForce GTX 960M, pci bus id: 0000:02:00.0, compute capability: 5.0边栏推荐
- 利用IPv6实现公网访问远程桌面
- YGG cooperated with Web3 platform leader to empower the creative community with Dao tools and resources
- SAP UI5 初学 ( 一 )、简介
- Imx6dl4.1.15 supports EIM bus (Part 2) - configuration principle analysis.
- uva10891
- [popular science materials] materials from scientific spirit to scientific knowledge
- And check the collection hello
- 关联性——相关性分析
- 利用Jsonp跨域请求数据
- uva10859
猜你喜欢

关于数据库,你应该知道的事情

Relevance - correlation analysis

Solve the problem that NPM does not have permission

How to fix Error: Failed to download metadata for repo ‘appstream‘: Cannot prepare internal mirrorli

mmclassification安装与调试

【翻译】e-Cloud。使用KubeEdge的大规模CDN

并发幂等性防抖

Crawler data analysis (introduction 2-re analysis)

Deploy Prometheus server service system management

通过keyup监听textarea输入更改按钮样式
随机推荐
Spark RDD案例:统计每日新增用户
What is the difference between software engineer and software development? What is the difference between software engineer and software developer?
shell条件判断详解
uva10891
Machine learning notes - time series prediction using machine learning
Suggestions on working methods and efficient work
excel高级绘图技巧100讲(六)-甘特图在项目进度上的实战应用案例
示波器 符号
Domestic code hosting center code cloud
Do you really understand "binder copy once"?
Uniapp obtains the date implementation of the beginning and end of the previous month and the next month
idea控台中文乱码问题【亲测有效】
How to talk about salary correctly in software test interview?
Markdown 技能树(1):MarkDown介绍
systemd 管理node-exporter
数字ic设计——UART
并发幂等性防抖
Idea integrated code cloud
How to view software testing training? Do you need training?
Utilisation d'IPv6 pour réaliser l'accès public au bureau distant