使用paddle库时出现警告
收藏
在用paddle库处理波士顿房价时出现警告Warning:: 0D Tensor cannot be used as 'Tensor.numpy()[0]' . In order to avoid this problem, 0D Tensor will be changed to 1D numpy currently, but it's not correct and will be removed in release 2.6. For Tensor contain only one element, Please modify 'Tensor.numpy()[0]' to 'float(Tensor)' as soon as possible, otherwise 'Tensor.numpy()[0]' will raise error in release 2.6.请问我该怎么解决,还有,有没有paddle的库说明
0
收藏
请登录后评论
shjgskgwsotsgj