docs: public static boolean isRowVectorShape(DataBuffer shapeInfo) {
          int rank = Shape.rank(shapeInfo);
          DataBuffer shape = Shape.shapeOf(shapeInfo);
          return (rank == 2 && shape.getInt(0) == 1) || rank == 1;
  
      }