code: public static void removeDefaultWeights(Map<String, INDArray> weights, KerasLayerConfiguration conf) {
          if (weights.size() > 2) {
              Set<String> paramNames = weights.keySet();
              paramNames.remove(conf.getKERAS_PARAM_NAME_W());
              paramNames.remove(conf.getKERAS_PARAM_NAME_B());
              String unknownParamNames = paramNames.toString();
              log.warn("Attemping to set weights for unknown parameters: "
                      + unknownParamNames.substring(1, unknownParamNames.length() - 1));
          }
      }
docs: Remove weights from config after weight setting.
  
  @param weights layer weights
  @param conf Keras layer configuration