docs: public void pretrain(MultiDataSetIterator iter, int numEpochs) {
          try{
              pretrainHelper(iter, numEpochs);
          } catch (OutOfMemoryError e){
              CrashReportingUtil.writeMemoryCrashDump(this, e);
              throw e;
          }
      }