code: public void setListeners(@NonNull Collection<TrainingListener> listeners) {
          this.listeners.clear();
          this.listeners.addAll(listeners);
          if (trainingMaster != null)
              trainingMaster.setListeners(this.listeners);
      }
docs: This method allows you to specify trainingListeners for this model.
  
  @param listeners Iteration listeners