成功解决TypeError: Value passed to parameter 'paddings' has DataType float32 not in list of allowed valu 解决问题TypeError: Value passed to parameter 'paddings' has DataType float32 not in list of allowed values: int32, int64 解决思路类型错误:传递给参数“paddings”的值,不包含允许的值列表中的数据类型, int32, int64,这两种类型 解决方法建议采用np的int类型转换!
哈哈,成功运行,大功告成! |
|