I am trying to create an INDArray
of zeros with the following code:
var testArray = Nd4j.zeros(3,4)
However I got the following error:
<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)
Any advice on how to solve this?