code: public static INDArray reshapeWeights(long[] shape, INDArray paramsView, char flatteningOrder) {
          return paramsView.reshape(flatteningOrder, shape);
      }
docs: Reshape the parameters view, without modifying the paramsView array values.
  
  @param shape           Shape to reshape
  @param paramsView      Parameters array view
  @param flatteningOrder Order in which parameters are flattened/reshaped