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

GitHub | rahulpalamuttam | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    MainNetcdfDFSMCC breaks when calling rows() on non 2d matrix

    GitHub | 9 months ago | rahulpalamuttam
    java.lang.IllegalStateException: Unable to get number of of rows for a non 2d matrix
  2. 0

    Runtime error : RangedInt ~ fails to work for dimensions greater than 2

    GitHub | 2 years ago | rahulpalamuttam
    java.lang.IllegalStateException: Unable to get number of of rows for a non 2d matrix

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Unable to get number of of rows for a non 2d matrix

      at org.nd4j.linalg.api.ndarray.BaseNDArray.rows()
    2. nd4j-api
      BaseNDArray.rows
      1. org.nd4j.linalg.api.ndarray.BaseNDArray.rows(BaseNDArray.java:3591)
      1 frame
    3. org.dia.tensors
      Nd4jTensor.rows
      1. org.dia.tensors.Nd4jTensor.rows(Nd4jTensor.scala:147)
      1 frame
    4. org.dia.algorithms
      MCCOps$.labelConnectedComponents
      1. org.dia.algorithms.mcc.MCCOps$.labelConnectedComponents(MCCOps.scala:149)
      1 frame