为了账号安全,请及时绑定邮箱和手机立即绑定

tf.print 没有结果

tf.print 没有结果

九州编程 2021-09-28 15:54:57
我想用来tf.print显示张量值,但是没有结果?这是我的代码,有什么问题吗:from __future__ import print_functionimport tensorflow as tfsess = tf.InteractiveSession()  a = tf.constant([1.0, 3.0])tf.print(a)
查看完整描述

2 回答

  • 2 回答
  • 0 关注
  • 290 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信