Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by valncrt
, 1 year ago
via GitHub by valncrt
, 1 year ago
via GitHub by treo
, 1 year ago
Length must be >= 1
java.lang.IllegalArgumentException: Length must be >= 1	at org.nd4j.linalg.api.buffer.BaseDataBuffer.(BaseDataBuffer.java:118)	at org.nd4j.linalg.api.buffer.FloatBuffer.(FloatBuffer.java:78)	at org.nd4j.linalg.api.buffer.factory.DefaultDataBufferFactory.create(DefaultDataBufferFactory.java:66)	at org.nd4j.linalg.factory.Nd4j.createBuffer(Nd4j.java:1042)	at org.nd4j.linalg.api.ndarray.BaseNDArray.(BaseNDArray.java:167)	at org.nd4j.linalg.cpu.nativecpu.NDArray.(NDArray.java:70)	at org.nd4j.linalg.cpu.nativecpu.CpuNDArrayFactory.create(CpuNDArrayFactory.java:258)	at org.nd4j.linalg.factory.Nd4j.create(Nd4j.java:3696)	at org.nd4j.linalg.api.ndarray.BaseNDArray.create(BaseNDArray.java:1766)	at org.nd4j.linalg.api.ndarray.BaseNDArray.subArray(BaseNDArray.java:1922)	at org.nd4j.linalg.api.ndarray.BaseNDArray.get(BaseNDArray.java:3810)	at org.deeplearning4j.nn.params.DefaultParamInitializer.init(DefaultParamInitializer.java:73)	at org.deeplearning4j.nn.conf.layers.DenseLayer.instantiate(DenseLayer.java:51)	at org.deeplearning4j.nn.conf.graph.LayerVertex.instantiate(LayerVertex.java:85)	at org.deeplearning4j.nn.graph.ComputationGraph.init(ComputationGraph.java:352)	at org.deeplearning4j.nn.graph.ComputationGraph.init(ComputationGraph.java:263)