code: public Layer getOutputLayer() {
          Layer ret = getLayers()[getLayers().length - 1];
          if (ret instanceof FrozenLayerWithBackprop) {
              ret = ((FrozenLayerWithBackprop) ret).getInsideLayer();
          }
          return ret;
      }
docs: Get the output layer - i.e., the last layer in the netwok
  
  @return