docs: @Override
      public INDArray computeScoreForExamples(double fullNetRegTerm, LayerWorkspaceMgr workspaceMgr) {
          if (input == null || labels == null)
              throw new IllegalStateException("Cannot calculate score without input and labels " + layerId());
          INDArray preOut = preOutput2d(false, workspaceMgr);
  
          ILossFunction lossFunction = layerConf().getLossFn();
          INDArray scoreArray =
                  lossFunction.computeScoreArray(getLabels2d(workspaceMgr, ArrayType.FF_WORKING_MEM),
                          preOut, layerConf().getActivationFn(), maskArray);
          if (fullNetRegTerm != 0.0) {
              scoreArray.addi(fullNetRegTerm);
          }
          return workspaceMgr.leverageTo(ArrayType.ACTIVATIONS, scoreArray);
      }