- 博客(1)
- 收藏
- 关注
原创 针对AttributeError: ‘tensorflow.python.framework.ops.EagerTensor‘ ....no attribute ‘reshape‘问题的解决办法。
在学习Mnist手写数据集的时候,遇到这种问题。使用Tensorflow2.2-gpu版本plt.figure(figsize=(20, 4))for i in range(1, n): ax = plt.subplot(2, n, i) plt.imshow(x_test[i].reshape(28, 28)) ax = plt.subplot(2, n, i + n) plt.imshow(decode_test[i].reshape(28, 28)).
2021-11-23 17:11:41
8071
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人