code: public Frame asFrame(INDArray array, int dataType) {
          return converter.convert(asMat(array, OpenCVFrameConverter.getMatDepth(dataType)));
      }
docs: Converts an INDArray to a JavaCV Frame. Only intended for images with rank 3.
  
  @param array to convert
  @param dataType from JavaCV (DEPTH_FLOAT, DEPTH_UBYTE, etc), or -1 to use same type as the INDArray
  @return data copied to a Frame