会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Haris Wang's Blog
订阅
管理
2020年2月29日
tensorflow如何使用TPU训练模型
摘要: 首先检测TPU存在: tpu = tf.distribute.cluster_resolver.TPUClusterResolver() #如果先前设置好了TPU_NAME环境变量,不需要再给参数. tpu的返回值为1 or 0 ,1则检测到了TPU. tf.config.experimental_
阅读全文
posted @ 2020-02-29 13:26 dynmi
阅读(2225)
评论(0)
推荐(0)
编辑