jupyter notebook + tf2.0 报错记录: AttributeError: ‘Tensor‘ object has no attribute ‘numpy‘
jupyter notebook + tf2.0 报错记录: AttributeError: 'Tensor' object has no attribute 'numpy'问题描述解决方法
问题描述
尝试显示tf中Tensor的值,采用 tesor_instance.nupmy() 实现,运行时报错
AttributeError: in converted code:
<ipython-input-10-68deec28a095>:27 compute_loss *
原创
2020-08-22 00:28:26 ·
1289 阅读 ·
2 评论