code: @Override
      public INDArray convertDataEx(DataTypeEx typeSrc, INDArray source, DataTypeEx typeDst) {
          if (source.isView())
              throw new UnsupportedOperationException("Impossible to compress View. Consider using dup() before. ");
  
          DataBuffer buffer = convertDataEx(typeSrc, source.data(), typeDst);
          source.setData(buffer);
  
          if (buffer instanceof CompressedDataBuffer)
              source.markAsCompressed(true);
          else
              source.markAsCompressed(false);
  
          return source;
      }
docs: This method converts Single/Double precision databuffer to Half-precision databuffer
  
  @param typeSrc
  @param source
  @param typeDst @return