运行一神经网络模型时出现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 ...

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

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

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