code: public INDArray asRowVector(BufferedImage image, boolean flipChannels) throws IOException {
          return asMatrix(image, flipChannels).ravel();
      }
docs: Returns {@code asMatrix(image, flipChannels).ravel()}.