java.lang.IllegalStateException: Unable to get number of of rows for a non 2d matrix

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 christopher-beckham
, 1 year ago
Unable to get number of of rows for a non 2d matrix
via GitHub by rahulpalamuttam
, 1 year ago
Unable to get number of of rows for a non 2d matrix
via GitHub by rahulpalamuttam
, 1 year ago
Unable to get number of of rows for a non 2d matrix
java.lang.IllegalStateException: Unable to get number of of rows for a non 2d matrix
at org.nd4j.linalg.api.ndarray.BaseNDArray.rows(BaseNDArray.java:3591)
at org.deeplearning4j.nn.layers.BaseLayer.preOutput(BaseLayer.java:355)
at org.deeplearning4j.nn.layers.BaseLayer.activate(BaseLayer.java:366)
at org.deeplearning4j.nn.layers.BaseLayer.activate(BaseLayer.java:386)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.