docs: public static ParameterAveragingTrainingMaster fromYaml(String yamlStr) {
          ObjectMapper om = getYamlMapper();
          try {
              return om.readValue(yamlStr, ParameterAveragingTrainingMaster.class);
          } catch (IOException e) {
              throw new RuntimeException("Could not parse YAML", e);
          }
      }