解决:TypeError: Value passed to parameter 'a' has DataType int64 not in list of allowed values: float1
生活随笔
收集整理的這篇文章主要介紹了
解决:TypeError: Value passed to parameter 'a' has DataType int64 not in list of allowed values: float1
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
報錯:
TypeError: Value passed to parameter 'a' has DataType int64 not in list of allowed values: float16, float32, float64, int32, complex64, complex128
原因
?
1.4.0版本 默認int64
代碼內(nèi)容:
?
改正 定義符合 格式
總結
以上是生活随笔為你收集整理的解决:TypeError: Value passed to parameter 'a' has DataType int64 not in list of allowed values: float1的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: dependencyManagement
- 下一篇: dependency-check-mav