code: @Override
      public void compressi(INDArray array) {
          // TODO: lift this restriction
          if (array.isView())
              throw new UnsupportedOperationException("Impossible to apply inplace compression on View");
  
          array.setData(compress(array.data()));
          array.markAsCompressed(true);
      }
docs: Inplace compression of INDArray
  
  @param array