code: @Override
      public INDArray compress(double[] data) {
          return compress(data, new int[] {1, data.length}, Nd4j.order());
      }
docs: This method creates compressed INDArray from Java double array, skipping usual INDArray instantiation routines
  Please note: This method compresses input data as vector
  
  @param data
  @return