0
点赞
收藏
分享

微信扫一扫

解决:TypeError: Value passed to parameter 'a' has DataType int64 not in list of allowed values: float1

倪雅各 2022-07-12 阅读 74

报错:

TypeError: Value passed to parameter 'a' has DataType int64 not in list of allowed values: float16, float32, float64, int32, complex64, complex128

原因

 解决:TypeError: Value passed to parameter

1.4.0版本 默认int64

代码内容:

解决:TypeError: Value passed to parameter

 

改正 定义符合 格式解决:TypeError: Value passed to parameter


举报

相关推荐

0 条评论