运行一神经网络模型时出现bug

Tried to convert ‘tensor’ to a tensor and failed. Error: None values not supported
网络搜索得知有可能为梯度问题?
如何解决这个bug?

Jason990420
最佳答案

Maybe you need to check what value for your tensor before you call reshape ...

2年前 评论
pole (楼主) 2年前
pole (楼主) 2年前
讨论数量: 3
Jason990420

Maybe you need to check what value for your tensor before you call reshape ...

2年前 评论
pole (楼主) 2年前
pole (楼主) 2年前

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!