docs: public INDArray activateSelectedLayers(int from, int to, INDArray input) {
          if (input == null)
              throw new IllegalStateException("Unable to perform activation; no input found");
          if (from < 0 || from >= layers.length || from >= to)
              throw new IllegalStateException("Unable to perform activation; FROM is out of layer space");
          if (to < 1 || to >= layers.length)
              throw new IllegalStateException("Unable to perform activation; TO is out of layer space");
  
          try {
              LayerWorkspaceMgr mgr = LayerWorkspaceMgr.noWorkspaces(helperWorkspaces);   //TODO
  
              INDArray res = input;
              for (int l = from; l <= to; l++) {
                  res = this.activationFromPrevLayer(l, res, false, mgr);
              }
              return res;
          } catch (OutOfMemoryError e){
              CrashReportingUtil.writeMemoryCrashDump(this, e);
              throw e;
          }
      }