我正在尝试INDArray
使用以下代码创建一个零点:
var testArray = Nd4j.zeros(3,4)
但是我收到以下错误:
<console>:71: error: ambiguous reference to overloaded definition,
both method zeros in object Nd4j of type (x$1: Int*)org.nd4j.linalg.api.ndarray.INDArray
and method zeros in object Nd4j of type (x$1: Long, x$2: Long)org.nd4j.linalg.api.ndarray.INDArray
match argument types (Int,Int)
var testArray = Nd4j.zeros(3,4)
关于如何解决这个问题的任何建议?