docs: protected void applyRegularization(Regularization.ApplyStep step, Trainable layer, String paramName, INDArray gradientView, INDArray paramsView, int iter, int epoch, double lr) {
          //TODO: do this for multiple contiguous params/layers (fewer, larger ops)
  
          List<Regularization> l = layer.getConfig().getRegularizationByParam(paramName);
          if(l != null && !l.isEmpty()){
              for(Regularization r : l){
                  if(r.applyStep() == step){
                      r.apply(paramsView, gradientView, lr, iter, epoch);
                  }
              }
          }
      }